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 680001 Details for
Bug 895357
net-snmp-python adds zeros to end of IP address (IPADDR type), which is not valid
[?]
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]
Patch to fix IPADDR long issue
net-snmp-5.7.2-ipaddr-long.patch (text/plain), 681 bytes, created by
Chris Smart
on 2013-01-17 05:15:37 UTC
(
hide
)
Description:
Patch to fix IPADDR long issue
Filename:
MIME Type:
Creator:
Chris Smart
Created:
2013-01-17 05:15:37 UTC
Size:
681 bytes
patch
obsolete
>diff --git a/python/netsnmp/client_intf.c b/python/netsnmp/client_intf.c >index 964ad8b..e05e9e1 100644 >--- a/python/netsnmp/client_intf.c >+++ b/python/netsnmp/client_intf.c >@@ -821,14 +821,14 @@ OCT: > > case TYPE_IPADDR: > vars->type = ASN_IPADDRESS; >- vars->val.integer = (long *)malloc(sizeof(long)); >+ vars->val.integer = (in_addr_t *)malloc(sizeof(in_addr_t)); > if (val) > *(vars->val.integer) = inet_addr(val); > else { > ret = FAILURE; > *(vars->val.integer) = 0; > } >- vars->val_len = sizeof(long); >+ vars->val_len = sizeof(in_addr_t); > break; > > case TYPE_OBJID:
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 895357
:
678653
|
678654
|
680000
| 680001