httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r545835 - /httpd/apreq/trunk/library/t/util.c
Date Sun, 10 Jun 2007 03:43:49 GMT
Author: joes
Date: Sat Jun  9 20:43:48 2007
New Revision: 545835

URL: http://svn.apache.org/viewvc?view=rev&rev=545835
Log:
Size of the char array isn't big enough.

Reported by: dektidty@asianet.co.th

Modified:
    httpd/apreq/trunk/library/t/util.c

Modified: httpd/apreq/trunk/library/t/util.c
URL: http://svn.apache.org/viewvc/httpd/apreq/trunk/library/t/util.c?view=diff&rev=545835&r1=545834&r2=545835
==============================================================================
--- httpd/apreq/trunk/library/t/util.c (original)
+++ httpd/apreq/trunk/library/t/util.c Sat Jun  9 20:43:48 2007
@@ -93,7 +93,7 @@
     char src1[] = "%C3%80%E3%82%a2"; /* A_GRAVE KATAKANA_A as utf8 */
     char src2[] = "pound%A3";/* latin-1 */
     char src3[] = "euro%80";/* cp-1252 */
-    char expect[6];
+    char expect[7];
 
     AT_int_eq(apreq_decode(expect, &elen, src1, sizeof(src1) -1),
               APR_SUCCESS);



Mime
View raw message