summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Martin <slarti@gentoo.org>2004-08-09 22:46:23 +0000
committerTom Martin <slarti@gentoo.org>2004-08-09 22:46:23 +0000
commit3aa270530a10138c7b31560132a4ab0587d9829e (patch)
treee6af4d76b597f7178be713d1cdefa29e303ddeae /net-ftp/weex/files
parentAdded a patch for the /proc/cmdline leak vulnerability; bug #59905. (Manifest... (diff)
downloadgentoo-2-3aa270530a10138c7b31560132a4ab0587d9829e.tar.gz
gentoo-2-3aa270530a10138c7b31560132a4ab0587d9829e.tar.bz2
gentoo-2-3aa270530a10138c7b31560132a4ab0587d9829e.zip
Added va_list patch, thanks Kugelfang. Marked ~amd64.
Diffstat (limited to 'net-ftp/weex/files')
-rw-r--r--net-ftp/weex/files/weex-2.6.1.5-va_list.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/net-ftp/weex/files/weex-2.6.1.5-va_list.patch b/net-ftp/weex/files/weex-2.6.1.5-va_list.patch
new file mode 100644
index 000000000000..70b3ebcdd832
--- /dev/null
+++ b/net-ftp/weex/files/weex-2.6.1.5-va_list.patch
@@ -0,0 +1,23 @@
+--- src/strlib.c.orig 2003-08-18 11:52:38.000000000 +0200
++++ src/strlib.c 2004-07-05 20:32:48.853638760 +0200
+@@ -167,14 +167,16 @@
+ -------------------------------------------------- */
+ char *str_dup_printf(const char *format, ...)
+ {
+- va_list ap1,ap2;
++ va_list ap1;
+ char *ptr;
+
+ va_start(ap1,format);
+- G_VA_COPY(ap2,ap1);
++ //G_VA_COPY(ap2,ap1);
+ ptr=str_malloc(printf_string_upper_bound(format,ap1));
+- vsprintf(ptr,format,ap2);
+- va_end(ap2);
++ va_end(ap1);
++ va_start(ap1,format);
++ vsprintf(ptr,format,ap1);
++ va_end(ap1);
+
+ return(ptr);
+ }