Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  kame/sys/netinet6/ipcomp_input.c
4  kame/sys/netinet6/ipcomp_input.c
... ...
@@ -1,4 +1,4 @@
1  
-/*	$KAME: ipcomp_input.c,v 1.36 2004/06/02 05:53:15 itojun Exp $	*/
  1
+/*	$KAME: ipcomp_input.c,v 1.37 2007/11/21 08:59:26 jinmei Exp $	*/
2 2
 
3 3
 /*
4 4
  * Copyright (C) 1999 WIDE Project.
@@ -290,7 +290,7 @@ ipcomp6_input(mp, offp, proto)
290 290
 	off = *offp;
291 291
 
292 292
 	md = m_pulldown(m, off, sizeof(*ipcomp), NULL);
293  
-	if (!m) {
  293
+	if (!md) {
294 294
 		m = NULL;	/* already freed */
295 295
 		ipseclog((LOG_DEBUG, "IPv6 IPComp input: assumption failed "
296 296
 		    "(pulldown failure)\n"));

0 notes on commit 283b546

Please sign in to comment.
Something went wrong with that request. Please try again.