Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 646585 Details for
Bug 877540
Buffer overflow when including commoncpp2 if gethostbyname fails
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fixes buffer overflow error
inaddr.patch (text/plain), 458 bytes, created by
Tristan Matthews
on 2012-11-16 20:15:57 UTC
(
hide
)
Description:
Fixes buffer overflow error
Filename:
MIME Type:
Creator:
Tristan Matthews
Created:
2012-11-16 20:15:57 UTC
Size:
458 bytes
patch
obsolete
>--- /usr/src/debug/commoncpp2-1.8.1/src/inaddr.cpp 2010-10-31 19:43:40.000000000 -0400 >+++ inaddr.cpp 2012-11-16 15:14:16.667082655 -0500 >@@ -333,7 +333,7 @@ void IPV4Address::setAddress(const char > if(ipaddr) > delete[] ipaddr; > ipaddr = new struct in_addr[1]; >- memset((void *)&ipaddr[0], 0, sizeof(ipaddr)); >+ memset((void *)&ipaddr[0], 0, sizeof(ipaddr[0])); > return; > } >
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 877540
:
646572
| 646585