[PATCH] Fix SEGV in nscd with only one remaining file descriptor

Ulrich Drepper drepper@redhat.com
Tue May 29 14:47:00 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Guillaume Chazarain wrote:
> The attached patch fixes this bug by checking CMSG_FIRSTHDR (&msg).

Almost correct.  You tried to close a non-existing file descriptor,
though.  I checked in a patch.  Next time consider filing a bug in
bugzilla so that there is no danger of the report getting lost.

- --
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFGXDzw2ijCOnn/RHQRAvUQAJ9sBW2Sn3hgKWka0Vz+pKdTbsnxAQCgg/Rt
hmkT4wDnkpDt5Rb5WW1p3VI=
=LoPq
-----END PGP SIGNATURE-----



More information about the Libc-alpha mailing list