>Number:         151100
>Category:       kern
>Synopsis:       c code error in netinet/igmp.c
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 30 07:10:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     SunMinghao
>Release:        8.0 or 8.1
>Organization:
Sumavision Technologies CO., Ltd
>Environment:
source code in 8.0
>Description:
function igmp_input_v1_report in netinet/igmp.c, line 1222 and 1223, bracket 
match error,
the code as bellow

        if (!IN_MULTICAST(ntohl(igmp->igmp_group.s_addr) ||
            !in_hosteq(igmp->igmp_group, ip->ip_dst))) {



>How-To-Repeat:
NULL
>Fix:
modified as bellow

        if (!IN_MULTICAST(ntohl(igmp->igmp_group.s_addr)) ||
            !in_hosteq(igmp->igmp_group, ip->ip_dst)) {

>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to