diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-05-20 22:55:47 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-05-20 22:55:47 +0000 |
commit | 1b0cbdff78b1cfa0fe3816a8d43e30ce11646c51 (patch) | |
tree | 7a010e54168e08472bdf9686ed8647af4ca15164 /sys/dev/mii | |
parent | f8e7d10b85514bec7a8d6c91c901756a72cf26f2 (diff) |
It is possible for a sensor to be detached and freed while it is being
copied out to userland. If this happens we get a use after free and things
blow up. Prevent this by making a local copy of the sensor that cannot be
freed elsewhere in the kernel and copying that out instead.
found by mbalmer@
ok deraadt@ krw@
Diffstat (limited to 'sys/dev/mii')
0 files changed, 0 insertions, 0 deletions