diff options
author | adrian <adrian@FreeBSD.org> | 2012-11-28 07:12:08 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-11-28 07:12:08 +0000 |
commit | 9817eedd68000f200c41e5974d6d016a3aa9e72d (patch) | |
tree | 03cdf3233de3d12e1da597d44f53b5284c28644d /contrib/sendmail/src | |
parent | 4e2c29a3467070580f73ca8802b0764e0e211983 (diff) | |
download | FreeBSD-src-9817eedd68000f200c41e5974d6d016a3aa9e72d.zip FreeBSD-src-9817eedd68000f200c41e5974d6d016a3aa9e72d.tar.gz |
Call if_free() with the correct vnet context if and only if ifp_vnet
isn't NULL.
If the attach fails prematurely and there's no if_vnet context, calling
CURVNET_SET(ifp->if_vnet) is going to dereference a NULL pointer.
Diffstat (limited to 'contrib/sendmail/src')
0 files changed, 0 insertions, 0 deletions