This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/4439] New: inet_ntop can write past end of dst buffer
- From: "phelps at mantara dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 30 Apr 2007 15:51:31 -0000
- Subject: [Bug libc/4439] New: inet_ntop can write past end of dst buffer
- Reply-to: sourceware-bugzilla at sourceware dot org
When inet_ntop (from libc/resolv/inet_ntop.c revision 1.9) is provided with an
AF_INET family address and a buffer that is one byte shorter than is needed to
hold the resulting string, it happily writes the terminating NUL byte past the
end of the buffer.
--
Summary: inet_ntop can write past end of dst buffer
Product: glibc
Version: 2.4
Status: NEW
Severity: minor
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: phelps at mantara dot com
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=4439
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.