Yuri Vasilevski <[EMAIL PROTECTED]> writes:

> Also glibc's realloc return NULL if size == 0, so in the places where
> realloc is used in regex the case of NULL pointers most be taken care
> off in any way.

I just checked, and regex never uses size == 0 with realloc, so we're
OK there.  (This assuming no arithmetic overflow, but the regex code
is riddled with overflow gotchas and I'd rather address that problem
separately.)


_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to