File apr-util-1.2.8-CVE-2009-0023.patch of Package libapr-util1

Index: buckets/apr_brigade.c
===================================================================
--- buckets/apr_brigade.c.orig	2005-02-04 21:45:35.000000000 +0100
+++ buckets/apr_brigade.c	2009-06-05 20:43:33.000000000 +0200
@@ -660,9 +660,6 @@ APU_DECLARE(apr_status_t) apr_brigade_vp
       return -1;
     }
 
-    /* tack on null terminator to remaining string */
-    *(vd.vbuff.curpos) = '\0';
-
     /* write out what remains in the buffer */
     return apr_brigade_write(b, flush, ctx, buf, vd.vbuff.curpos - buf);
 }
openSUSE Build Service is sponsored by