Re: net-snmp leak

2011-06-16 Thread Robert Story
On Thu, 16 Jun 2011 17:28:21 +0530 Sukhdeep wrote: SS>Actually I was facing memory leak problem while using net-snmp lib in my own application. My application is threaded application where many threads execute snmpget/walk. SS> I found one place in netsnmp library as mentioned below:

net-snmp leak

2011-06-16 Thread Sukhdeep Singh
Hi, Actually I was facing memory leak problem while using net-snmp lib in my own application. My application is threaded application where many threads execute snmpget/walk. I found one place in netsnmp library as mentioned below: /snmplib/snmp_transport.c @@ -489,6 +489,7 @@

Another question about opaques types

2011-06-16 Thread Leo Cacciari
Hi, The question here is somewhat related to the one I posed in the mail starting the 'Using Opaque Types' but is, I feel, a little more generic. When Net-Snmp is compiled with support for the "special opaque encodings", support is added for 4 (four) types besides standard snmp types: 64 bytes int

Re: Using opaque type

2011-06-16 Thread Leo Cacciari
Il 06/02/2011 09:25 AM, Dave Shield ha scritto: > ...snip > > A possible alternative approach would be to use a simple text string, > and apply your own internal parsing of the value. > > For example, you could represent a sequence of integer values > using a string such as > > "1,1,2,3,