table_array core dump (V 5.0.9)

"George, Geo" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <87BC906A62A61A4E83399416B13704A7032DEE09@cacexc07.americas.cpqcorp.net>
Hi All,
I have developed an Agentx based SNMP sub agent using, netsnmp v5.0.9.
Tables are implemented using mib2c.aray-user.conf. 

A typical problem:
When ever a SNMP set is performed with invalid index (ie No instance
number given) the agent core dumps. Tables implemented using
iterate.conf are fine. 

I tried with a very small experimental table, and the same behavior is
observed.

Any help appreciated.

Regards,
Geo

========================================================================
======
Description:
	MIB:
	Me1FileEntry ::=      // OID = 1.3.6.1.4.1.42.2.2.4
   	 SEQUENCE {
        me1FileIndex
                Unsigned32,
        me1FileName
                DisplayString,
        me1FileSize
                Unsigned32,
        me1FilePerm
                DisplayString
    }


How to repeat: Try snmpset on 1.3.6.1.4.1.42.2.2.4 without any index,
agent core dumps. With valid indexes, it works fine.
========================================================================
=====





-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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.