This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/11595] sprintf %% format error resulting in output corruption


------- Additional Comments From jakub at redhat dot com  2010-05-13 11:46 -------
No, the testcase is invalid.  In the second printf you pass in %  AAAA
in the format string, which means that a double argument of that printf (none
was provided) is printed in hexadecimal notation, followed by AAA.
You should use printf ("%s", buf); or fputs etc.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://sourceware.org/bugzilla/show_bug.cgi?id=11595

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]