summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2011-06-01 17:57:52 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2011-06-01 17:57:52 +0000
commit3e37593660205ab33991278fa74beb0bcb474d68 (patch)
tree651ae1d80f824b85934ba8f0da10e58bd0561975 /lib/libc
parent913a7a020c66ad751249a00866840c30e92c1ad4 (diff)
Add device_ref/device_unref calls to prevent a possible use-after-free
issue in disk_attach_callback. Assumes that the struct disk is part of the driver's softc, but this is always true in practice. Still other scary use-after-free races lying around here though... ok jsing@, deraadt@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions