This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/4439] inet_ntop can write past end of dst buffer
- From: "cvs-commit at gcc dot gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 12 Jul 2007 15:14:36 -0000
- Subject: [Bug libc/4439] inet_ntop can write past end of dst buffer
- References: <20070430165130.4439.phelps@mantara.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2007-07-12 15:14 -------
Subject: Bug 4439
CVSROOT: /cvs/glibc
Module name: libc
Branch: glibc-2_5-branch
Changes by: jakub@sourceware.org 2007-07-12 15:14:24
Modified files:
. : ChangeLog
resolv : Makefile inet_ntop.c
Added files:
resolv : tst-inet_ntop.c
Log message:
2007-04-30 Jakub Jelinek <jakub@redhat.com>
[BZ #4439]
* resolv/inet_ntop.c (inet_ntop4): Take terminating '\0' into
account in the size check.
* resolv/tst-inet_ntop.c: New test.
* resolv/Makefile (tests): Add tst-inet_ntop.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/ChangeLog.diff?cvsroot=glibc&only_with_tag=glibc-2_5-branch&r1=1.10362.2.77&r2=1.10362.2.78
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/resolv/tst-inet_ntop.c.diff?cvsroot=glibc&only_with_tag=glibc-2_5-branch&r1=NONE&r2=1.1.6.1
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/resolv/Makefile.diff?cvsroot=glibc&only_with_tag=glibc-2_5-branch&r1=1.48&r2=1.48.8.1
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/resolv/inet_ntop.c.diff?cvsroot=glibc&only_with_tag=glibc-2_5-branch&r1=1.9&r2=1.9.8.1
--
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.