Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 1997 07:35:33 -0800 (PST)
From:      mpp@freebsd.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/2712: uninitialized variable used in ip_mroute.c
Message-ID:  <199702111535.HAA28017@freefall.freebsd.org>
Resent-Message-ID: <199702111540.HAA28752@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         2712
>Category:       kern
>Synopsis:       uninitialized variable used in ip_mroute.c
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 11 07:40:01 PST 1997
>Last-Modified:
>Originator:     Mike Pritchard
>Organization:
Mike Pritchard
>Release:        FreeBSD 3.0-current
>Environment:


>Description:

	in the add_vif routine in netinet/ip_mroute,
	the variable "error" is used without ever being
	set.  This is around line 734.

>How-To-Repeat:

	Inspect the code.

>Fix:
	
	Either don't use the variable at all, or set it to something.
>Audit-Trail:
>Unformatted:



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