summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/bsearch.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2009-06-25 18:54:56 +0000
committerkib <kib@FreeBSD.org>2009-06-25 18:54:56 +0000
commit4ce38c42837137d49ef614d0c032e423b9d0d9f5 (patch)
tree92e04075d212f2ab2ac88ad513f7d8675d71b079 /lib/libc/stdlib/bsearch.c
parenta7a5954511a4b948ae8218744bc2069641a3ab19 (diff)
downloadFreeBSD-src-4ce38c42837137d49ef614d0c032e423b9d0d9f5.zip
FreeBSD-src-4ce38c42837137d49ef614d0c032e423b9d0d9f5.tar.gz
In lf_iteratelocks_vnode, increment state->ls_threads around iterating
of the vnode advisory lock list. This prevents deallocation of state while inside the loop. Reported and tested by: pho MFC after: 2 weeks
Diffstat (limited to 'lib/libc/stdlib/bsearch.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud