This is a discussion on Re: example app gives errors in valgrind within the SNMP Coders forums, part of the Networking and Network Related category; On s=F6n, 2007-06-24 at 14:14 +0200, Thomas Anders wrote: > Juuso Alasuutari wrote: > > The ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On s=F6n, 2007-06-24 at 14:14 +0200, Thomas Anders wrote:
> Juuso Alasuutari wrote: > > The distribution is Debian unstable, libsnmp version is 5.3.1, and Valg= rind is = > > 3.2.3. Is this kind of behavior normal from libsnmp, or is the test pro= gram's = > > code broken in some way? > = > Would you mind building net-snmp 5.4.1.pre3 from source, compile the > test program against it and re-run your test? Using trunk, the memory leak is due to init_snmp_enums where we try to add both the string "gauge" and the string "unsigned" to the same key in an snmp_enum that is indexed on the ASN.1 type tag. According to my valgrind that is the definite memory leak. /MF ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |
![]() |
| Thread Tools | |
| Display Modes | |
|
|