bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/17754] Buffer overflow detected in MinGW gas


From: amodra at gmail dot com
Subject: [Bug gas/17754] Buffer overflow detected in MinGW gas
Date: Mon, 05 Jan 2015 12:33:12 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=17754

--- Comment #6 from Alan Modra <amodra at gmail dot com> ---
No, that's the wrong fix.  coffgen.c is compiled without including pe.h, so
sizeof (auxent->x_file.x_fname) is the default, but for PE targets we want the
larger value given by bfd_coff_filnmlen.  I think the right fix is the one I
proposed in comment #3.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

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