Mageia Bugzilla – Attachment 572 Details for
Bug 1678
buffer overflow on slirpvde
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
minimal fix for crash
vde-2.2.2-glibc-check.patch (text/plain), 458 bytes, created by
Christiaan Welvaart
on 2011-06-15 13:37:20 CEST
(
hide
)
Description:
minimal fix for crash
Filename:
MIME Type:
Creator:
Christiaan Welvaart
Created:
2011-06-15 13:37:20 CEST
Size:
458 bytes
patch
obsolete
>diff -ruN -X vde2excludes.txt vde2-2.2.2/src/slirpvde/slirpvde.c vde2-2.2.3/src/slirpvde/slirpvde.c >--- vde2-2.2.2/src/slirpvde/slirpvde.c 2008-06-15 18:49:15.000000000 +0200 >+++ vde2-2.2.3/src/slirpvde/slirpvde.c 2008-10-19 17:20:51.000000000 +0200 >@@ -53,7 +53,7 @@ > VDECONN *conn; > int dhcpmgmt=0; > static char *pidfile = NULL; >-static char pidfile_path[_POSIX_PATH_MAX]; >+static char pidfile_path[PATH_MAX]; > int logok=0; > char *prog; > extern FILE *lfd;
diff -ruN -X vde2excludes.txt vde2-2.2.2/src/slirpvde/slirpvde.c vde2-2.2.3/src/slirpvde/slirpvde.c --- vde2-2.2.2/src/slirpvde/slirpvde.c 2008-06-15 18:49:15.000000000 +0200 +++ vde2-2.2.3/src/slirpvde/slirpvde.c 2008-10-19 17:20:51.000000000 +0200 @@ -53,7 +53,7 @@ VDECONN *conn; int dhcpmgmt=0; static char *pidfile = NULL; -static char pidfile_path[_POSIX_PATH_MAX]; +static char pidfile_path[PATH_MAX]; int logok=0; char *prog; extern FILE *lfd;
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1678
: 572