diff options
author | 2011-06-01 17:57:51 +0000 | |
---|---|---|
committer | 2011-06-01 17:57:51 +0000 | |
commit | c0b494ae7bfcec599b1e9cae8ae8a46ba73ac3ba (patch) | |
tree | 2e1e9202a82ea69f5ac0af2e449b49cbb926245b /lib/libc/string/wcscasecmp.c | |
parent | Make uk(4) look more like sd(4) and cd(4) by adding a uklookup() (diff) | |
download | wireguard-openbsd-c0b494ae7bfcec599b1e9cae8ae8a46ba73ac3ba.tar.xz wireguard-openbsd-c0b494ae7bfcec599b1e9cae8ae8a46ba73ac3ba.zip |
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/string/wcscasecmp.c')
0 files changed, 0 insertions, 0 deletions