Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#3 Fix core dump on bad snmp_open()

open
nobody
None
5
2001-08-14
2001-08-14
Harry Raaymakers
No

Any error in the initial snmp_open() such as
an unknown host results in a core dump. This
is because a NULL is passed to the subsequent
snmp_error() whereas the snmp_session should be passed
instead.

snmp_errstring(snmp_errno) also seems to not give the
correct error string. Replaced this with by errstr.

Discussion

  • Patch to fix core dump on bad snmp_open()

     
    Attachments