Hi All , I was using ucd-snmp-4.2 package for snmp support. When i try to send snmp message of length more than SPRINT_MAX_LEN, it crashes in snmp_api.c at this line strcpy((char*)buf, value); // as buf is of max size SPRINT_MAX_LEN,.
I have applied the following patch to fix the problem http://net-snmp.svn.sourceforge.net/viewvc/net-snmp/branches/V5-4-patches/net-snmp/snmplib/snmp_api.c?r1=5148&r2=5189&view=patch It works fine after this with any amount of message sizes. Can anyone please let me know, if any other patches are required for resolving this crash issue or this is enough for now. Currently we can't upgrade to latest version as we have done more testing on the current version, ucd-snmp-4.2 Please advice. Thanks and Regards, Pavan ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
