svn commit: r259386 - stable/8/sys/netipsec

Andrey V. Elsukov ae at FreeBSD.org
Sat Dec 14 04:24:51 UTC 2013


Author: ae
Date: Sat Dec 14 04:24:50 2013
New Revision: 259386
URL: http://svnweb.freebsd.org/changeset/base/259386

Log:
  MFC r257987:
    Initialize prot variable.
  
    PR:		177417

Modified:
  stable/8/sys/netipsec/ipsec_input.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/netipsec/   (props changed)

Modified: stable/8/sys/netipsec/ipsec_input.c
==============================================================================
--- stable/8/sys/netipsec/ipsec_input.c	Sat Dec 14 04:24:32 2013	(r259385)
+++ stable/8/sys/netipsec/ipsec_input.c	Sat Dec 14 04:24:50 2013	(r259386)
@@ -615,6 +615,7 @@ ipsec6_common_input_cb(struct mbuf *m, s
 	ip6->ip6_plen = htons(m->m_pkthdr.len - sizeof(struct ip6_hdr));
 
 	/* Save protocol */
+	prot = 0;
 	m_copydata(m, protoff, 1, (unsigned char *) &prot);
 
 #ifdef notyet


More information about the svn-src-stable-8 mailing list