This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/7075] sprintf(buf, "%sfoo", buf) has different results with -O2 -D_FORTIFY_SOURCE=2 (__sprintf_chk bug?)
- From: "kees at outflux dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 13 Jun 2014 19:49:35 +0000
- Subject: [Bug libc/7075] sprintf(buf, "%sfoo", buf) has different results with -O2 -D_FORTIFY_SOURCE=2 (__sprintf_chk bug?)
- Auto-submitted: auto-generated
- References: <bug-7075-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=7075
Kees Cook <kees at outflux dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |---
--- Comment #10 from Kees Cook <kees at outflux dot net> ---
I'd still like to have this patch applied -- while we can claim the behavior is
"undefined", it is not, in fact, undefined. It behaves one way without
-D_FORTIFY_SOURCE=2, and differently with it. And that difference doesn't need
to exist. Ubuntu carried this patch for quite a while.
--
You are receiving this mail because:
You are on the CC list for the bug.