diff options
author | wpaul <wpaul@FreeBSD.org> | 2001-10-30 18:15:48 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2001-10-30 18:15:48 +0000 |
commit | 08ca13c8db2b28005e05d6b65a567089093c295d (patch) | |
tree | a0d2db08a432cde6667945478377aed115eef5a6 /gnu/libexec/uucp/libuuconf/iniglb.c | |
parent | 3554d69eb7586d90560931e7765242b2d0cd614f (diff) | |
download | FreeBSD-src-08ca13c8db2b28005e05d6b65a567089093c295d.zip FreeBSD-src-08ca13c8db2b28005e05d6b65a567089093c295d.tar.gz |
Fix a (long standing?) bug in ip_output(): if ip_insertoptions() is
called and ip_output() encounters an error and bails (i.e. host
unreachable), we will leak an mbuf. This is because the code calls
m_freem(m0) after jumping to the bad: label at the end of the function,
when it should be calling m_freem(m). (m0 is the original mbuf list
_without_ the options mbuf prepended.)
Obtained from: NetBSD
Diffstat (limited to 'gnu/libexec/uucp/libuuconf/iniglb.c')
0 files changed, 0 insertions, 0 deletions