hmm you're right, i must be confusing it with something else that was safe and already fixed
On Wed, Sep 28, 2011 at 02:47:47AM +0200, Marc Espie wrote: > On Tue, Sep 27, 2011 at 11:45:09PM +0100, Nicholas Marriott wrote: > > This would make it build... dunno why this was missed before :-/. > > > > IIRC libbfd plays games with arrays for ELF that cause warnings, > > probably easy enough to shut up in code if someone wants to look. > > That's definitely NOT a solution. We're talking about an actual > buffer overflow here, and a bad one, since the code in that version > of gdb is fucked enough to #define a size TWICE to different values. > Who knows what other problems that encurs besides a buffer overflow in > memcpy ? > > Sorry, but the actual problem must be fixed... apparently, has even > been noticed in more recent versions of gdb.