Bugzilla – Attachment 26996 Details for
Bug 63895
VUL-0: CVE-2004-1137: kernel: bug in IGMP code
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
correction for updated patch
igmp-interdiff.diff (text/plain), 1.30 KB, created by
Ludwig Nussel
on 2004-12-13 17:59:36 UTC
(
hide
)
Description:
correction for updated patch
Filename:
MIME Type:
Creator:
Ludwig Nussel
Created:
2004-12-13 17:59:36 UTC
Size:
1.30 KB
patch
obsolete
>diff -u edited/net/ipv4/igmp.c edited/net/ipv4/igmp.c >--- edited/net/ipv4/igmp.c 2004-12-06 18:43:54 -08:00 >+++ edited/net/ipv4/igmp.c 2004-12-10 15:16:17 -08:00 >@@ -1780,7 +1780,7 @@ > for (i=0; i<psl->sl_count; i++) { > rv = memcmp(&psl->sl_addr[i], &mreqs->imr_sourceaddr, > sizeof(__u32)); >- if (rv >= 0) /* array is sorted */ >+ if (rv == 0) > break; > } > if (rv) /* source not found */ >@@ -1827,7 +1827,7 @@ > for (i=0; i<psl->sl_count; i++) { > rv = memcmp(&psl->sl_addr[i], &mreqs->imr_sourceaddr, > sizeof(__u32)); >- if (rv >= 0) >+ if (rv == 0) > break; > } > if (rv == 0) /* address already there is an error */ >diff -u edited/net/ipv6/mcast.c edited/net/ipv6/mcast.c >--- edited/net/ipv6/mcast.c 2004-12-06 18:43:54 -08:00 >+++ edited/net/ipv6/mcast.c 2004-12-10 17:20:46 -08:00 >@@ -393,7 +393,7 @@ > for (i=0; i<psl->sl_count; i++) { > rv = memcmp(&psl->sl_addr[i], source, > sizeof(struct in6_addr)); >- if (rv >= 0) /* array is sorted */ >+ if (rv == 0) > break; > } > if (rv) /* source not found */ >@@ -438,7 +438,7 @@ > rv = 1; /* > 0 for insert logic below if sl_count is 0 */ > for (i=0; i<psl->sl_count; i++) { > rv = memcmp(&psl->sl_addr[i], source, sizeof(struct in6_addr)); >- if (rv >= 0) >+ if (rv == 0) > break; > } > if (rv == 0) /* address already there is an error */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 63895
:
26775
|
26806
|
26889
| 26996 |
27005
|
27011