diff options
author | philip <philip@FreeBSD.org> | 2008-02-28 18:31:54 +0000 |
---|---|---|
committer | philip <philip@FreeBSD.org> | 2008-02-28 18:31:54 +0000 |
commit | a5ef2c95a1b3d11082cf8aaa215a66128df5e858 (patch) | |
tree | e5c4c4147e9c98fff853aa3f601350d7be627479 /lib/libc/regex/engine.c | |
parent | dd53c63465ee5e2ff3496d9c5cd514a11a5431c1 (diff) | |
download | FreeBSD-src-a5ef2c95a1b3d11082cf8aaa215a66128df5e858.zip FreeBSD-src-a5ef2c95a1b3d11082cf8aaa215a66128df5e858.tar.gz |
Zero sc->vnode if mdsetcred() fails.
This fixes the panic which happens when mdcreate_vnode() calls vn_close()
and mddestroy() calls it again further down the error handling path.
Reviewed by: kris, kib
MFC after: 3 days
Diffstat (limited to 'lib/libc/regex/engine.c')
0 files changed, 0 insertions, 0 deletions