Sourceware Bugzilla – Attachment 3095 Details for
Bug 7075
sprintf(buf, "%sfoo", buf) has different results with -O2 -D_FORTIFY_SOURCE=2 (__sprintf_chk bug?)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
test case
foo.c (text/plain), 124 bytes, created by
Kees Cook
on 2008-12-07 17:42:53 UTC
(
hide
)
Description:
test case
Filename:
MIME Type:
Creator:
Kees Cook
Created:
2008-12-07 17:42:53 UTC
Size:
124 bytes
patch
obsolete
>#include <stdio.h> >int main() >{ > char buf[80] = "not "; > > sprintf(buf, "%sfail", buf); > puts(buf); > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7075
: 3095 |
3625