fix allocation of too-small buffer for regexp filter error message

svn: r6212
This commit is contained in:
Matthew Flatt 2007-05-12 10:25:58 +00:00
parent 1ea6e807bd
commit ef645e466c

View File

@ -5106,7 +5106,7 @@ static char *build_call_name(const char *n)
char *m;
int l;
l = strlen(n);
m = (char *)scheme_malloc_atomic(l + 32);
m = (char *)scheme_malloc_atomic(l + 42);
memcpy(m, n, l);
strcpy(m XFORM_OK_PLUS l, " (calling given filter procedure)");
return m;