From: Robert Spalek Date: Tue, 20 Sep 2005 13:06:25 +0000 (+0000) Subject: increase buffer 3x X-Git-Tag: holmes-import~732 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=4559b9d5b6ae1eabe667437f9dd2a141d5c2c1bb;p=libucw.git increase buffer 3x --- diff --git a/lib/kmp.h b/lib/kmp.h index 419129be..0f49cc74 100644 --- a/lib/kmp.h +++ b/lib/kmp.h @@ -109,7 +109,7 @@ kmp_enter_string(struct kmp *kmp, const byte *str, uns id) * Convert the entered string here in the header and then call the * library function. This function calls kmp_get_char() without any * conversion. */ - byte buf[strlen(str)+1], *str2 = buf; + byte buf[3*strlen(str)+1], *str2 = buf; kmp_char_t c; do {