On Tue, Feb 22, 2005 at 09:50:55PM +0100, Tom Parker wrote:
> Florian Weimer wrote:
> >* Tom Parker:
> >>Calling getgrnam() with a NULL argument, with group in
> >>/etc/nsswitch.conf set to 'compat' can cause a segfault in
> >>__nscd_getgrnam_r due to a lack of a check for a NULL string before
> >>
Florian Weimer wrote:
* Tom Parker:
Calling getgrnam() with a NULL argument, with group in
/etc/nsswitch.conf set to 'compat' can cause a segfault in
__nscd_getgrnam_r due to a lack of a check for a NULL string before
doing strlen().
Is there any standard that defines the behavior of getgrnam(NULL)
* Tom Parker:
> Calling getgrnam() with a NULL argument, with group in
> /etc/nsswitch.conf set to 'compat' can cause a segfault in
> __nscd_getgrnam_r due to a lack of a check for a NULL string before
> doing strlen().
Is there any standard that defines the behavior of getgrnam(NULL)?
--
To U
Package: libc6
Version: 2.3.2.ds1-20
Severity: normal
Tags: patch
Calling getgrnam() with a NULL argument, with group in /etc/nsswitch.conf set
to 'compat' can cause a segfault
in __nscd_getgrnam_r due to a lack of a check for a NULL string before doing
strlen(). I've attached a patch,
but this
4 matches
Mail list logo