summaryrefslogtreecommitdiffstats
path: root/sys/dev/i2c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2016-01-14 19:53:59 +0000
committermpi <mpi@openbsd.org>2016-01-14 19:53:59 +0000
commit9e239a087234487eca5e18bb8fed2676540c151d (patch)
treefd36a0c8c457fd6df358bdb35a0bf5a5626d1922 /sys/dev/i2c
parentCheck whether a string from imsg is empty by dereferencing the char* (diff)
downloadwireguard-openbsd-9e239a087234487eca5e18bb8fed2676540c151d.tar.xz
wireguard-openbsd-9e239a087234487eca5e18bb8fed2676540c151d.zip
Prevent a NULL dereference when detaching a USB device with ugen(4)
disabled or if allocating memory during the attachment process failed. Problem reported by and original diff from James Hastings on bugs@. ok deraadt@
Diffstat (limited to 'sys/dev/i2c')
0 files changed, 0 insertions, 0 deletions