summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2009-01-26 14:21:00 +0000
committerkib <kib@FreeBSD.org>2009-01-26 14:21:00 +0000
commit3f74998bc8152702e7d8b9ce8cb484c112a9f83c (patch)
tree1bd4bf933545fce94e7f49dbefd1cb99be1ec3b2 /lib/libc/stdlib
parent3b0fbe380002ff733e00cb220d235c309d47edae (diff)
downloadFreeBSD-src-3f74998bc8152702e7d8b9ce8cb484c112a9f83c.zip
FreeBSD-src-3f74998bc8152702e7d8b9ce8cb484c112a9f83c.tar.gz
The kernel may do unbalanced calls to fifo_close() for fifo vnode,
without corresponding number of fifo_open(). This causes assertion failure in fifo_close() due to vp->v_fifoinfo being NULL for kernel with INVARIANTS, or NULL pointer dereference otherwise. In fact, we may ignore excess calls to fifo_close() without bad consequences. Turn KASSERT() into the return, and print warning for now. Tested by: pho Reviewed by: rwatson MFC after: 2 weeks
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud