public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/12077] New: strncmp over-reads its buffer, may cause SIGSEGV
@ 2010-10-01 12:01 ppluzhnikov at google dot com
  2010-10-01 12:04 ` [Bug libc/12077] " ppluzhnikov at google dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: ppluzhnikov at google dot com @ 2010-10-01 12:01 UTC (permalink / raw)
  To: glibc-bugs

Attached test case crashes in 64-bit mode
  ./a.out $j
  ./a.out $j 1
for all values of $j between 1 and 15

It does not crash in 32-bit mode (the bug appears to be in sysdeps/x86_64/strcmp.S).

The bug is not present in glibc-2.7; is present in 2.11.1 and current trunk.

-- 
           Summary: strncmp over-reads its buffer, may cause SIGSEGV
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: critical
          Priority: P2
         Component: libc
        AssignedTo: drepper dot fsp at gmail dot com
        ReportedBy: ppluzhnikov at google dot com
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: x86_64-linux-gnu
  GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu


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

------- 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] 8+ messages in thread

end of thread, other threads:[~2010-10-04  2:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-01 12:01 [Bug libc/12077] New: strncmp over-reads its buffer, may cause SIGSEGV ppluzhnikov at google dot com
2010-10-01 12:04 ` [Bug libc/12077] " ppluzhnikov at google dot com
2010-10-01 13:23 ` drepper dot fsp at gmail dot com
2010-10-01 14:01 ` ppluzhnikov at google dot com
2010-10-01 17:14 ` ppluzhnikov at google dot com
2010-10-03  3:12 ` drepper dot fsp at gmail dot com
2010-10-03  3:23 ` ppluzhnikov at google dot com
2010-10-04  2:11 ` drepper dot fsp at gmail 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).