Check to prevent snmp request/response oid length more than 128 subids

2008-05-03 Thread saifulla Mohd Abdul
Hi, The while loop which extracts subids ( while (length > 0 && (*objidlength)-- > 0) { ... in asn_parse_objid()) makes *objidlength = -1 for OIDs that contain more than 128 subids. So need "*objidlenth = MAX_OID_LEN;" inside if(0!=NULL). Please give your comment. Index: snmplib/asn1.c =

Cross compiler issue

2008-05-03 Thread Sasikumar
Hi, I am using net-snmp-5.3.2 I need to compile snmpd for the target which is ppc and OS is Linux timesys. I used the following option to compile the snmpd but the *.so files are not created. Need inputs regarding this options . ./configure --prefix=/home/sasi/netsnmp --with-cc=/opt/timesys/t