Re: netsnmp_udp_send() syscalls with uninitialized data

2010-06-17 Thread Brendan Tauras
Reporting issue resolved with v5.4.3. Below is my net-snmp config info and a snippet of the valgrind output, and I attached the complete valgrind log in case it is helpful. Sorry to take so long to reply with being on travel. Thank you Bart and Thomas for your time and help. -Brendan SNMP V

Re: netsnmp_udp_send() syscalls with uninitialized data

2010-06-05 Thread Thomas Anders
Brendan Tauras wrote: > My Net-SNMP version and configuration info is below. I also attached > some information about my system. > > $ net-snmp-config --version > 5.4.2.1 The obvious question is: could you retry with the latest 5.4.x version, i.e. 5.4.3, and report back? Cheers, Thomas -

Re: netsnmp_udp_send() syscalls with uninitialized data

2010-06-05 Thread Brendan Tauras
My Net-SNMP version and configuration info is below. I also attached some information about my system. $ net-snmp-config --version 5.4.2.1 $ net-snmp-config --configure-options '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/s

Re: netsnmp_udp_send() syscalls with uninitialized data

2010-06-04 Thread Bart Van Assche
On Fri, Jun 4, 2010 at 1:34 AM, Brendan Tauras wrote: > Thank you for the advice. It helped me learn more about the Net-SNMP > library, but unfortunately it did not solve the issue with > uninitialized syscall data. > > I used memset() to initialize the "struct snmp_session" before passing > it

Re: netsnmp_udp_send() syscalls with uninitialized data

2010-06-03 Thread Brendan Tauras
Bart, Thank you for the advice. It helped me learn more about the Net-SNMP library, but unfortunately it did not solve the issue with uninitialized syscall data. I used memset() to initialize the "struct snmp_session" before passing it to snmp_sess_init(), but I cannot memset() the "struct snmp_

Re: netsnmp_udp_send() syscalls with uninitialized data

2010-05-28 Thread Bart Van Assche
2010/5/28 Brendan Tauras > I am writing an asynchronous polling application and testing it for > memory leaks with valgrind. I got valgrind errors regarding system > call parameters pointing to uninitiailzed data on the stack (but the > program runs as expected). > > Then I ran the simple asynch

netsnmp_udp_send() syscalls with uninitialized data

2010-05-28 Thread Brendan Tauras
I am writing an asynchronous polling application and testing it for memory leaks with valgrind. I got valgrind errors regarding system call parameters pointing to uninitiailzed data on the stack (but the program runs as expected). Then I ran the simple asynchronous application tutorial code ( htt