Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 260990 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]
Patch to fix buffer overflow
selfdhcp-0.2a-buffer-overflow.patch (text/plain), 574 bytes, created by
Kevin McCarthy (RETIRED)
on 2011-01-29 14:08:48 UTC
(
hide
)
Description:
Patch to fix buffer overflow
Filename:
MIME Type:
Creator:
Kevin McCarthy (RETIRED)
Created:
2011-01-29 14:08:48 UTC
Size:
574 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 09:07:02.164485670 -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)); > 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