You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by jo...@apache.org on 2007/06/10 05:43:49 UTC

svn commit: r545835 - /httpd/apreq/trunk/library/t/util.c

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);