artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4697d2e
)
Fix a memleak when lookup of SA fails during forwarding of encrypted IPv6
author
gerhard
<gerhard@openbsd.org>
Tue, 6 May 2014 09:49:58 +0000
(09:49 +0000)
committer
gerhard
<gerhard@openbsd.org>
Tue, 6 May 2014 09:49:58 +0000
(09:49 +0000)
pakets.
ok mpi@ markus@ mikeb@
sys/netinet6/ip6_forward.c
patch
|
blob
|
history
diff --git
a/sys/netinet6/ip6_forward.c
b/sys/netinet6/ip6_forward.c
index
ceccbe7
..
3d5b9fd
100644
(file)
--- a/
sys/netinet6/ip6_forward.c
+++ b/
sys/netinet6/ip6_forward.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ip6_forward.c,v 1.6
5 2014/04/14 09:06:42 mpi Exp $
*/
+/* $OpenBSD: ip6_forward.c,v 1.6
6 2014/05/06 09:49:58 gerhard Exp $
*/
/* $KAME: ip6_forward.c,v 1.75 2001/06/29 12:42:13 jinmei Exp $ */
/*
@@
-201,6
+201,7
@@
reroute:
if (error == -EINVAL) /* Should silently drop packet */
error = 0;
+ m_freem(m);
goto freecopy;
}
} else {