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

2015-01-06 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17754 Nick Clifton changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

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

2015-01-06 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=17754 --- Comment #9 from cvs-commit at gcc dot gnu.org --- This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gdb and binutils". The branch,

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

2015-01-05 Thread yselkowi at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17754 --- Comment #8 from Yaakov Selkowitz --- (In reply to Nick Clifton from comment #7) > Hi Alan, > > > --- Comment #6 from Alan Modra --- > > No, that's the wrong fix. coffgen.c is compiled without including pe.h, so > > sizeof (auxent->x_fi

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

2015-01-05 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17754 --- Comment #7 from Nick Clifton --- Hi Alan, > --- Comment #6 from Alan Modra --- > 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 th

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

2015-01-05 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17754 --- Comment #6 from Alan Modra --- 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

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

2015-01-05 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17754 --- Comment #5 from Nick Clifton --- Created attachment 8044 --> https://sourceware.org/bugzilla/attachment.cgi?id=8044&action=edit Proposed patch Hi Yaakov, Does this patch fix the problem ? Cheers Nick -- You are receiving this ma

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

2014-12-30 Thread yselkowi at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17754 --- Comment #4 from Yaakov Selkowitz --- (In reply to Alan Modra from comment #1) > Technically there is a buffer overrun here, but there are no fields > following x_fname and x_file is not the largest element of union > internal_auxent. Nor

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

2014-12-29 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17754 --- Comment #3 from Alan Modra --- We can probably fix this by using char x_fname[20]; -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bu

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

2014-12-29 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17754 Alan Modra changed: What|Removed |Added CC||sourceware-bugs at internot dot in

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

2014-12-29 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17754 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #1 f