summaryrefslogtreecommitdiffstats
path: root/gnu/libexec/uucp/libuuconf/iniglb.c
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2001-10-30 18:15:48 +0000
committerwpaul <wpaul@FreeBSD.org>2001-10-30 18:15:48 +0000
commit08ca13c8db2b28005e05d6b65a567089093c295d (patch)
treea0d2db08a432cde6667945478377aed115eef5a6 /gnu/libexec/uucp/libuuconf/iniglb.c
parent3554d69eb7586d90560931e7765242b2d0cd614f (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud