Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 261017 Details for
Bug 337520
net-misc/selfdhcp _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]
Fixed patch to provide enough space for the \0
selfdhcp-0.2a-buffer-overflow.patch (text/plain), 576 bytes, created by
Kevin McCarthy (RETIRED)
on 2011-01-29 17:00:28 UTC
(
hide
)
Description:
Fixed patch to provide enough space for the \0
Filename:
MIME Type:
Creator:
Kevin McCarthy (RETIRED)
Created:
2011-01-29 17:00:28 UTC
Size:
576 bytes
patch
obsolete
>--- selfdhcp-0.2a.orig/src/selfdhcp_profiles.c 2004-08-02 18:10:36.000000000 -0400 >+++ selfdhcp-0.2a/src/selfdhcp_profiles.c 2011-01-29 11:54:29.132199679 -0500 >@@ -345,7 +345,7 @@ > { > key = xmlNodeListGetString (doc, cur->xmlChildrenNode, 1); > err_msg (DBG_PROG, "xml element \"%s\"", (char *) key); >- strncpy (netconf_buff.domainname, (char *) key, 49); >+ strncpy (netconf_buff.domainname, (char *) key, sizeof(netconf_buff.domainname)-1); > netconf_buff.what_is_set &= NETADDR; > err_msg (DBG_INFO, "read domain name \"%s\"", > netconf_buff.domainname);
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 337520
:
247488
|
260990
|
260991
| 261017