Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

merbed back a fix to invalid pointer access

(FreeBSD's rev 1.28 of ipcomp_input.c)
  • Loading branch information...
commit 283b546d5fd3e2a6ff5599eae39c3dafc339c86b 1 parent 50d0af1
jinmei authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 kame/sys/netinet6/ipcomp_input.c
View
4 kame/sys/netinet6/ipcomp_input.c
@@ -1,4 +1,4 @@
-/* $KAME: ipcomp_input.c,v 1.36 2004/06/02 05:53:15 itojun Exp $ */
+/* $KAME: ipcomp_input.c,v 1.37 2007/11/21 08:59:26 jinmei Exp $ */
/*
* Copyright (C) 1999 WIDE Project.
@@ -290,7 +290,7 @@ ipcomp6_input(mp, offp, proto)
off = *offp;
md = m_pulldown(m, off, sizeof(*ipcomp), NULL);
- if (!m) {
+ if (!md) {
m = NULL; /* already freed */
ipseclog((LOG_DEBUG, "IPv6 IPComp input: assumption failed "
"(pulldown failure)\n"));
Please sign in to comment.
Something went wrong with that request. Please try again.