summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/uhci.h
diff options
context:
space:
mode:
authorbrucec <brucec@FreeBSD.org>2010-11-21 14:34:25 +0000
committerbrucec <brucec@FreeBSD.org>2010-11-21 14:34:25 +0000
commitbf8d02a8b8c7adcf02b43fc301279d3f0de89ea1 (patch)
tree0645cf8bd4be1ae382c48f88a40b20d33ffd93b6 /sys/dev/usb/controller/uhci.h
parent63a10f10ab5a74e40ad28c3f8de32e75b390c48f (diff)
downloadFreeBSD-src-bf8d02a8b8c7adcf02b43fc301279d3f0de89ea1.zip
FreeBSD-src-bf8d02a8b8c7adcf02b43fc301279d3f0de89ea1.tar.gz
dispatch_add_command:
Modify the logic so there's only one exit point instead of two. Only insert valid (non-NULL) values into the queue. dispatch_free_command: Ensure that item is not NULL before removing it from the queue and dereferencing the pointer. NULL out free'd pointers to catch any use-after-free bugs. PR: bin/146855 Submitted by: gcooper MFC after: 3 days
Diffstat (limited to 'sys/dev/usb/controller/uhci.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud