diff options
author | mav <mav@FreeBSD.org> | 2012-06-20 18:25:51 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2012-06-20 18:25:51 +0000 |
commit | 056fd51a2215e8405ed46945b0eb147735753b9b (patch) | |
tree | 3ccda12f09a2541549992fa69d72e0840e6021ed /lib/libc/string/wcscmp.c | |
parent | 12f0fa63b40da9c91d4058d4a031666755896565 (diff) | |
download | FreeBSD-src-056fd51a2215e8405ed46945b0eb147735753b9b.zip FreeBSD-src-056fd51a2215e8405ed46945b0eb147735753b9b.tar.gz |
Check status of cam_periph_hold() inside cdclose(). If cd device was
invalidated while open, cam_periph_hold() will return error and won't
get the reference. Following reference release will crash the system.
Sponsored by: iXsystems, Inc.
MFC after: 3 days
Diffstat (limited to 'lib/libc/string/wcscmp.c')
0 files changed, 0 insertions, 0 deletions