summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/ath.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2005-09-08 03:33:55 +0000
committerkrw <krw@openbsd.org>2005-09-08 03:33:55 +0000
commit817e312bc67bbd6d9c2171f6e45accf75a09a580 (patch)
tree1a14dff95630ccfc75e8b60351364420c3fdfcbd /sys/dev/ic/ath.c
parentadd missing TULIP_STS_LINKFAIL flag in tulip_21041_media_probe(). (diff)
downloadwireguard-openbsd-817e312bc67bbd6d9c2171f6e45accf75a09a580.tar.xz
wireguard-openbsd-817e312bc67bbd6d9c2171f6e45accf75a09a580.zip
free(NULL, ...) is not safe in the kernel. So check for NULL'ness
before free()'ing buf in sd_get_parms(). Tweak code so there is only one free(buf, ...) to worry about. ok deraadt@.
Diffstat (limited to 'sys/dev/ic/ath.c')
0 files changed, 0 insertions, 0 deletions