Hello,
Since recently Valgrind complains about the DTLSUDP code in the trunk.
Apparently the DTLSUDP code does not NULL-terminate the domain prefix list ?
==30454== Invalid read of size 8
==30454== at 0x6274111: netsnmp_tdomain_init (snmp_transport.c:382)
==30454== by 0x6236153: _init_snmp (snmp_api.c:661)
==30454== by 0x62369F4: snmp_sess_init (snmp_api.c:728)
==30454== by 0x6288D6E: netsnmp_callback_open (snmpCallbackDomain.c:572)
==30454== by 0x4E53E8F: init_agent (snmp_vars.c:246)
==30454== by 0x404393: main (snmpd.c:921)
==30454== Address 0x894dd30 is 0 bytes after a block of size 16 alloc'd
==30454== at 0x4C25E45: calloc (vg_replace_malloc.c:467)
==30454== by 0x627E867: netsnmp_dtlsudp_ctor (snmpDTLSUDPDomain.c:1556)
==30454== by 0x6273F76: netsnmp_tdomain_init (snmp_transport_inits.h:3)
==30454== by 0x6236153: _init_snmp (snmp_api.c:661)
==30454== by 0x62369F4: snmp_sess_init (snmp_api.c:728)
==30454== by 0x6288D6E: netsnmp_callback_open (snmpCallbackDomain.c:572)
==30454== by 0x4E53E8F: init_agent (snmp_vars.c:246)
==30454== by 0x404393: main (snmpd.c:921)
[ ... ]
==30454== Invalid read of size 8
==30454== at 0x6273736: find_tdomain (snmp_transport.c:447)
==30454== by 0x627467F: netsnmp_tdomain_transport_full
(snmp_transport.c:561)
==30454== by 0x6274DAB: netsnmp_transport_open_server
(snmp_transport.c:687)
==30454== by 0x4E4F4EC: init_master_agent (snmp_agent.c:1315)
==30454== by 0x4043A5: main (snmpd.c:929)
==30454== Address 0x894dd30 is 0 bytes after a block of size 16 alloc'd
==30454== at 0x4C25E45: calloc (vg_replace_malloc.c:467)
==30454== by 0x627E867: netsnmp_dtlsudp_ctor (snmpDTLSUDPDomain.c:1556)
==30454== by 0x6273F76: netsnmp_tdomain_init (snmp_transport_inits.h:3)
==30454== by 0x6236153: _init_snmp (snmp_api.c:661)
==30454== by 0x62369F4: snmp_sess_init (snmp_api.c:728)
==30454== by 0x6288D6E: netsnmp_callback_open (snmpCallbackDomain.c:572)
==30454== by 0x4E53E8F: init_agent (snmp_vars.c:246)
==30454== by 0x404393: main (snmpd.c:921)
Bart.
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders