NetBSD Problem Report #46640

From www@NetBSD.org  Sat Jun 30 05:40:06 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id F348663BA27
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 30 Jun 2012 05:40:05 +0000 (UTC)
Message-Id: <20120630054005.678D963B85F@www.NetBSD.org>
Date: Sat, 30 Jun 2012 05:40:05 +0000 (UTC)
From: dross@pobox.com
Reply-To: dross@pobox.com
To: gnats-bugs@NetBSD.org
Subject: Uninitialized variable on line 995 of /sys/netinet6/ip6_output.c breaks build
X-Send-Pr-Version: www-1.0

>Number:         46640
>Category:       port-atari
>Synopsis:       Uninitialized variable on line 995 of /sys/netinet6/ip6_output.c breaks build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-atari-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 30 05:45:00 +0000 2012
>Closed-Date:    Sat Feb 10 10:07:38 +0000 2018
>Last-Modified:  Sat Feb 10 10:07:38 +0000 2018
>Originator:     David Ross
>Release:        6 BETA2
>Organization:
>Environment:
NetBSD nb6beta.beefdom.local 6.0_BETA2 NetBSD 6.0_BETA2 (GENERIC) i386
>Description:
Title pretty much says it all...  There's an uninitialized variable on line 995 of /sys/netinet6/ip6_output.c and it breaks a kernel build.  

A quick change to:
struct ip6_frag *ip6f = 0;
...gets things going again.
>How-To-Repeat:
Compile the Atari kernel with:
options IPSEC
options IPSEC_ESP
options IPSEC_NAT_T

...and that should be sufficient to reproduce the issue.
>Fix:
See above.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: maxv@NetBSD.org
State-Changed-When: Sat, 10 Feb 2018 10:07:38 +0000
State-Changed-Why:
This issue was fixed in 2013.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.