Date: Thu, 30 Sep 2010 07:00:38 GMT From: SunMinghao <sunminghao@hotmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/151100: c code error in netinet/igmp.c Message-ID: <201009300700.o8U70c4J058861@www.freebsd.org> Resent-Message-ID: <201009300710.o8U7A2ST060691@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009300700.o8U70c4J058861>