kern/151100: c code error in netinet/igmp.c

SunMinghao sunminghao at
Thu Sep 30 07:10:03 UTC 2010

>Number:         151100
>Category:       kern
>Synopsis:       c code error in netinet/igmp.c
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 30 07:10:02 UTC 2010
>Originator:     SunMinghao
>Release:        8.0 or 8.1
Sumavision Technologies CO., Ltd
source code in 8.0
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))) {

modified as bellow

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


More information about the freebsd-bugs mailing list