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: yselkowi at redhat dot com
Subject: [Bug gas/17754] Buffer overflow detected in MinGW gas
Date: Mon, 05 Jan 2015 16:14:10 +0000

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

--- Comment #8 from Yaakov Selkowitz <yselkowi at redhat dot com> ---
(In reply to Nick Clifton from comment #7)
> Hi Alan,
> 
>  > --- 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.
> 
> Alright - well if Yaakov can confirm that it works, I will be happy to 
> check it in.

Either fix works, but I see Alan's point.

-- 
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]