This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/12077] New: strncmp over-reads its buffer, may cause SIGSEGV
- From: "ppluzhnikov at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 1 Oct 2010 12:01:06 -0000
- Subject: [Bug libc/12077] New: strncmp over-reads its buffer, may cause SIGSEGV
- Reply-to: sourceware-bugzilla at sourceware dot org
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.