bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Configure problem when compiling with -D_FORTIFY_SOURCE


From: Greg Schafer
Subject: Re: Configure problem when compiling with -D_FORTIFY_SOURCE
Date: Sun, 16 Sep 2007 11:48:48 +1000
User-agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]