misc/113958: bstp_update_state() routine in net/bridgestp.c misuse "bp" in loop

Aaron Needles aneedles at ieee.org
Fri Jun 22 22:20:04 UTC 2007


>Number:         113958
>Category:       misc
>Synopsis:       bstp_update_state() routine in net/bridgestp.c misuse "bp" in loop
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 22 22:20:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Aaron Needles
>Release:        FreeBSD 6-STABLE (RELENG_6)
>Organization:
Schilling Robotics, LLC
>Environment:
N/A
>Description:
Source code issue.  Affect unknown.

Find bstp_update_state() routine in net/bridgestp.c

The following items...
bp->bp_role
bp->bp_synced

Should be changed to use bp2...
bp2->bp_role
bp2->bp_synced

.. otherwise, the code makes no sense.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list