This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug hurd/1254] getpeername(fd,NULL,&len) crashes even if len==0
- 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: 16 Oct 2005 10:09:33 -0000
- Subject: [Bug hurd/1254] getpeername(fd,NULL,&len) crashes even if len==0
- References: <20050826230859.1254.tschwinge@gnu.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-10-16 10:09 -------
Subject: Bug 1254
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sources.redhat.com 2005-10-16 10:09:30
Modified files:
sysdeps/mach/hurd: getpeername.c
Log message:
2005-10-16 Roland McGrath <roland@frob.com>
[BZ #1254]
* sysdeps/mach/hurd/getpeername.c (__getpeername): Respect *LEN
byte limit when setting ADDR->sa_family.
Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/mach/hurd/getpeername.c.diff?cvsroot=glibc&r1=1.11&r2=1.12
--
http://sourceware.org/bugzilla/show_bug.cgi?id=1254
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.