On Mon, 20 Sep 2004 10:19:51 -0700 George wrote: GA> The problem only exists when you add a MIB entry from an external SNMP GA> Manager (vs. the snmpd.conf file). GA> Both the write_snmpNotifyTag() and the write_snmpNotifyRowStatus() GA> functions needed changes. The fundamental GA> problem is when the memdup() library call is being used, the caller GA> needs to make sure that there is a NULL terminating GA> Character added at the end the char* being duplicated.
Yep, I discovered the same thing while testing, just after I responded earlier. GA> Can someone add these changes or better fix to CVS? Yep, I've already got almost the same code sitting in my local repository, to be checked in today... -- Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
