Re: Query related to memory leaks and read errors in snmptrap command

2014-02-13 Thread Bill Fenner
On Wed, Feb 12, 2014 at 12:41 PM, Chaitanya Gulhane < [email protected]> wrote: > Hi Bill, > > Thanks for the reply. > > Actually I wanted to use Net-SNMP APIs to send traps from my code instead > of direct calling snmptrap. I saw that my code was having leaks. So I > curiously tested fo

Re: Query related to memory leaks and read errors in snmptrap command

2014-02-10 Thread Bill Fenner
On Thu, Feb 6, 2014 at 7:11 AM, Chaitanya Gulhane < [email protected]> wrote: > > Hi, > > I was using net-snmp 5.6.2 and have built the code and installed it. > > I was using valgrind over snmptrap command. > Following is the command I ran. > > valgrind --leak-check=full --log-file=log_s

Fwd: Query related to memory leaks and read errors in snmptrap command

2014-02-06 Thread Chaitanya Gulhane
Hi, I was using net-snmp 5.6.2 and have built the code and installed it. I was using valgrind over snmptrap command. Following is the command I ran. valgrind --leak-check=full --log-file=log_snmptrap snmptrap -v 2c -c public "" localhost UCD-TRAP-TEST-MIB::demoTrap Following is the valgrind lo