diff options
author | jhb <jhb@FreeBSD.org> | 2011-06-06 13:12:56 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2011-06-06 13:12:56 +0000 |
commit | aa8ddae28045296cfac5aae264a723e7b0664db7 (patch) | |
tree | 85a77dafa0374fd3c89d8bd92a72fdce0bb6591d /lib/libc/stdlib/hcreate.c | |
parent | 6e29aea1dbf128b84b885f9acc6396c69ab080ce (diff) | |
download | FreeBSD-src-aa8ddae28045296cfac5aae264a723e7b0664db7.zip FreeBSD-src-aa8ddae28045296cfac5aae264a723e7b0664db7.tar.gz |
Clear the device_t pointer in 'struct resource' when releasing a device
as otherwise the sysctl to export rman info can dereference a stale
pointer.
PR: kern/115371
Submitted by: Arthur Hartwig
MFC after: 1 week
Diffstat (limited to 'lib/libc/stdlib/hcreate.c')
0 files changed, 0 insertions, 0 deletions