diff options
author | jhb <jhb@FreeBSD.org> | 2005-03-24 21:20:25 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2005-03-24 21:20:25 +0000 |
commit | e04fe1a3ead71e88c4e8a7271bac402b2c53f40b (patch) | |
tree | a83c3bd29dd00f7112c9d1f0ca45840bf2647a35 /sys/pc98/cbus | |
parent | 127c0209cbd49dabdd5fda40333ec1710b76ac60 (diff) | |
download | FreeBSD-src-e04fe1a3ead71e88c4e8a7271bac402b2c53f40b.zip FreeBSD-src-e04fe1a3ead71e88c4e8a7271bac402b2c53f40b.tar.gz |
Don't set ret_namelen and ret_resnamelen in res_find() unless both the
corresponding pointer to the buffer (ret_name and ret_resname) is non-NULL
to avoid possible NULL pointer derefs.
Reported by: Coverity via sam
Diffstat (limited to 'sys/pc98/cbus')
0 files changed, 0 insertions, 0 deletions