Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 258374 Details for
Bug 340147
net-analyzer/pmacct _FORTIFY_SOURCE indicates presence of overflow
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pmacct-0.12.5-sin6_addr.patch
pmacct-0.12.5-sin6_addr.patch (text/plain), 1.03 KB, created by
Jeroen Roovers (RETIRED)
on 2010-12-29 16:58:38 UTC
(
hide
)
Description:
pmacct-0.12.5-sin6_addr.patch
Filename:
MIME Type:
Creator:
Jeroen Roovers (RETIRED)
Created:
2010-12-29 16:58:38 UTC
Size:
1.03 KB
patch
obsolete
>--- a/src/bgp/bgp.c 2010-12-21 17:56:52.000000000 +0100 >+++ b/src/bgp/bgp.c 2010-12-29 17:44:43.000000000 +0100 >@@ -1782,7 +1782,7 @@ > sa = &sa_local; > memset(sa, 0, sizeof(struct sockaddr)); > sa->sa_family = AF_INET6; >- memcpy(&((struct sockaddr_in6 *)sa)->sin6_addr, &info->attr->mp_nexthop.address.ipv6, 16); >+ memcpy(&((struct sockaddr_in6 *)sa)->sin6_addr, &info->attr->mp_nexthop.address.ipv6, sizeof(&((struct sockaddr_in6 *)sa)->sin6_addr)); > goto start_again; > } > #endif >@@ -1911,7 +1911,7 @@ > pptrs->f_agent = (char *) &sa_local; > memset(sa, 0, sizeof(struct sockaddr)); > sa->sa_family = AF_INET6; >- memcpy(&((struct sockaddr_in6 *)sa)->sin6_addr, &info->attr->mp_nexthop.address.ipv6, 16); >+ memcpy(&((struct sockaddr_in6 *)sa)->sin6_addr, &info->attr->mp_nexthop.address.ipv6, sizeof(&((struct sockaddr_in6 *)sa)->sin6_addr)); > saved_info = (char *) info; > ttl--; > goto start_again;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 340147
:
249933
| 258374