diff options
author | nectar <nectar@FreeBSD.org> | 2004-01-12 13:29:54 +0000 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2004-01-12 13:29:54 +0000 |
commit | 6722bb8a1037f0957374b25dfff6ab496c86da27 (patch) | |
tree | 055bda862247e369718764b9d6fe95915c9c34b6 /sys/dev/usb/uhci_pci.c | |
parent | b20733846cacd1472cc0d971f79f0420affa8676 (diff) | |
download | FreeBSD-src-6722bb8a1037f0957374b25dfff6ab496c86da27.zip FreeBSD-src-6722bb8a1037f0957374b25dfff6ab496c86da27.tar.gz |
Fix a bug that could result in a null pointer dereference in
getpwent(3) or getpwuid(3) when using NIS adjunct maps. The bug was
present in the internal `nis_passwd' function. The lookup in the
adjunct map used the name passed into `nis_passwd', however no name
was of course supplied by getpwent or getpwuid. Correctly use the
name from the `struct pwd' that was found instead.
PR: bin/59962
Submitted by: Gabriel Gomez <ggomez@fing.edu.uy>
Diffstat (limited to 'sys/dev/usb/uhci_pci.c')
0 files changed, 0 insertions, 0 deletions