Bruno Haible wrote:

> It could be that the buffer that is too small is this 'buf' here, not
> something in glibc. Does the buffer overflow persist if you increase
> its size from 100 to 1000000, and/or if you use asprintf instead of sprintf?

Size of 10000 seems to work. Size of 1000 doesn't. Using asprintf also
seems to not crash with a size of 100.

Regards
Greg



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

Reply via email to