Red Hat Bugzilla – Bug 409811
SIZEOF_LONG is not defined
Last modified: 2008-02-05 02:44:34 EST
Description of problem:
snmplib/asn1.c(net-snmp-5.1.2-11.EL4.11) uses SIZEOF_LONG,
but it is not defined.
And net-snmp.org(net-snmp-5.1.4 or more) defines SIZEOF_LONG
Version-Release number of selected component (if applicable):
Created attachment 276661 [details]
My proposal patch.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
I do not see any consequence of the bug. You are right, SIZEOF_LONG is not
defined. But it is used only twice:
If it is not defined, net-snmp checks integers unnecessarily on 32bit system,
burning few cpu cycles. The result is the same as if SIZEOF_LONG would be defined.
Again, if it is not defined, net-snmp checks subidentifier on all architectures,
which is not effective on 32bit system, but has no influence on the result.
Feel free correct me and reopen the bug if I am wrong and you can see some
problems in production. Or contact your Red Hat Support at redhat.com/support,
which is always better than direct Bugzilla report.