public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/9571] Fails to build with -D_FORTIFY_SOURCE=2 due to unchecked fgets usage
[not found] <20080611173802.9571.jw+debian@jameswestby.net>
@ 2008-12-18 21:32 ` tromey at redhat dot com
2009-01-17 23:25 ` pedro at codesourcery dot com
1 sibling, 0 replies; 2+ messages in thread
From: tromey at redhat dot com @ 2008-12-18 21:32 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From tromey at redhat dot com 2008-12-18 21:32 -------
FYI -- there's a pending patch for this.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at redhat dot com
Priority| |P1
http://sourceware.org/bugzilla/show_bug.cgi?id=9571
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug build/9571] Fails to build with -D_FORTIFY_SOURCE=2 due to unchecked fgets usage
[not found] <20080611173802.9571.jw+debian@jameswestby.net>
2008-12-18 21:32 ` [Bug build/9571] Fails to build with -D_FORTIFY_SOURCE=2 due to unchecked fgets usage tromey at redhat dot com
@ 2009-01-17 23:25 ` pedro at codesourcery dot com
1 sibling, 0 replies; 2+ messages in thread
From: pedro at codesourcery dot com @ 2009-01-17 23:25 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From pedro at codesourcery dot com 2009-01-17 23:25 -------
And it has recently been checked in:
2009-01-06 Jim Blandy <jimb@red-bean.com>
Check return values of functions declared with warn_unused_result
attribute in GLIBC 2.8.
* cli/cli-cmds.c (pwd_command): Check return value from getcwd.
* inflow.c (check_syscall): New function.
(new_tty): Use check_syscall to check return values from open and dup.
* linux-nat.c (linux_nat_info_proc_cmd): Check return value from fgets.
* main.c (captured_main): Call cwd after setting up gdb_stderr;
check for errors from getcwd.
* mi/mi-cmd-env.c (mi_cmd_env_pwd): Check return value from getcwd.
* ui-file.c (stdio_file_write): Ignore return value from fwrite.
(stdio_file_fputs): Same.
* utils.c (internal_vproblem): abort if last-ditch error message
write fails.
* top.c (gdb_init): Don't set the current directory here; that's
already been done in captured_main.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=9571
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-17 23:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20080611173802.9571.jw+debian@jameswestby.net>
2008-12-18 21:32 ` [Bug build/9571] Fails to build with -D_FORTIFY_SOURCE=2 due to unchecked fgets usage tromey at redhat dot com
2009-01-17 23:25 ` pedro at codesourcery dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).