FTBFS in Intrepid due to -D_FORTIFY_SOURCE=2

Bug #239249 reported by James Westby
2
Affects Status Importance Assigned to Milestone
gdb (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: gdb

Hi,

gdb will ftbfs in Intrepid due to -D_FORTIFY_SOURCE=2 being default.
It has (at least) an unchecked fgets() call in linux-nat.c, as can be
seen at

http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/linux-nat.c?rev=1.86&content-type=text/x-cvsweb-markup&cvsroot=src

When a fix for this is found it would be great to fix bug 239244 as well.

Thanks,

James

Tags: ftbfs
James Westby (james-w)
Changed in gdb:
importance: Undecided → High
James Westby (james-w)
Changed in gdb:
status: New → Confirmed
Revision history for this message
James Westby (james-w) wrote :

Hi,

I have reported this upstream at

http://sourceware.org/cgi-bin/gnatsweb.pl?cmd=view audit-trail&database=gdb&pr=2466

Thanks,

James

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

This should be fixed in Intrepid in 6.8-3ubuntu1.

Changed in gdb:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.