summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/fetch.c
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2004-02-10 23:01:53 +0000
committerwpaul <wpaul@FreeBSD.org>2004-02-10 23:01:53 +0000
commit5280743f492aea0d78704ccca6afe522cb67061d (patch)
treece510f9fea0460e1c98c7b76502691134d3ff0e3 /lib/libfetch/fetch.c
parent640645291f5093248c108bd09bf80671b37279bb (diff)
downloadFreeBSD-src-5280743f492aea0d78704ccca6afe522cb67061d.zip
FreeBSD-src-5280743f492aea0d78704ccca6afe522cb67061d.tar.gz
Add some bulletproofing: don't allow the ndis_get_info() or ndis_set_info()
routines to do anything except return error if the miniport adapter context is not set (meaning we either having init'ed the driver yet, or the initialization failed). Also, be sure to NULL out the adapter context along with the miniport characteristics pointers if calling the MiniportInitialize() method fails.
Diffstat (limited to 'lib/libfetch/fetch.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud