crash in snmp_oid_compare

Daniel D Streetman <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <OFB39D38B1.7F9555C3-ON872577A1.0068740F-872577A1.006A410D@us.ibm.com>
Hello,

I'm seeing a segafult in snmpd, with the bt showing it crashed in snmp_oid_compare, although the len parameters look way too big; anyone have any suggestions about where this may be coming from and/or how to fix it?

The version is 5.4.1.pre3

#0 snmp_oid_compare (in_name1=0xb7f75ffc, len1=135474360, in_name2=0xb793b1a8,
len2=135474360) at snmp_api.c:6332
#1 0xb7d881d7 in netsnmp_compare_netsnmp_index (lhs=0x812f3f8, rhs=0x812f3f8)
at container.c:430
#2 0xb7d888cf in array_qsort (data=0x815b850, first=3, last=5, f=0xb7d88170
<netsnmp_compare_netsnmp_index>)
 at container_binary_array.c:69
#3 0xb7d88cc4 in Sort_Array (c=0x817b988) at container_binary_array.c:110
#4 0xb7d8936f in _ba_insert (container=0x817b988, data=0x8136ae0) at
container_binary_array.c:241
#5 0xb7ea996f in _load_v6 (container=0x817b988, idx_offset=7) at
../../include/net-snmp/library/container.h:365
#6 0xb7ea9be4 in netsnmp_arch_ipaddress_container_load (container=0x817b988,
load_flags=4)
 at ip-mib/data_access/ipaddress_linux.c:158
#7 0xb7ea8fff in netsnmp_access_ipaddress_container_load (container=0x817b988,
load_flags=4)
 at ip-mib/data_access/ipaddress_common.c:112
#8 0xb7e8a367 in ipAddressTable_container_load (container=0x80fc5d8)
 at ip-mib/ipAddressTable/ipAddressTable_data_access.c:339
#9 0xb7e85e4a in _cache_load (cache=0x80fbd98, vmagic=0x80fc5d8) at
ip-mib/ipAddressTable/ipAddressTable_interface.c:1912
#10 0xb7f13c45 in _cache_load (cache=0x80fbd98) at cache_handler.c:537
#11 0xb7d67aa3 in run_alarms () at snmp_alarm.c:252
#12 0x0804b67c in main (argc=10, argv=0xbfe8ba64) at snmpd.c:1208
#13 0xb7830a7c in __libc_start_main () from /lib/libc.so.6
#14 0x0804a0d1 in _start ()

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.