Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2013 04:24:33 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r259385 - stable/10/sys/netipsec
Message-ID:  <201312140424.rBE4OXMs092965@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ae
Date: Sat Dec 14 04:24:32 2013
New Revision: 259385
URL: http://svnweb.freebsd.org/changeset/base/259385

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

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

Modified: stable/10/sys/netipsec/ipsec_input.c
==============================================================================
--- stable/10/sys/netipsec/ipsec_input.c	Sat Dec 14 04:16:47 2013	(r259384)
+++ stable/10/sys/netipsec/ipsec_input.c	Sat Dec 14 04:24:32 2013	(r259385)
@@ -602,6 +602,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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312140424.rBE4OXMs092965>