diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-06-01 17:57:52 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-06-01 17:57:52 +0000 |
commit | 3e37593660205ab33991278fa74beb0bcb474d68 (patch) | |
tree | 651ae1d80f824b85934ba8f0da10e58bd0561975 /lib/libc | |
parent | 913a7a020c66ad751249a00866840c30e92c1ad4 (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