Re: [SCM] Net-SNMP branch master updated. v5.7.3-1973-gf90d891

2016-11-09 Thread Magnus Fromreide
On Tue, Nov 08, 2016 at 06:30:57PM -0800, Bart Van Assche wrote: > On 11/08/16 08:03, Robert Story wrote: > > I've updated both records to use the documentation netblock. See if > > that works better for you. > > Hello Robert, > > T070com2sec_simple passes again on my development system. > As t

RE: What's the purpose of mib.c:2824 tmpbuf2[strlen(tmpbuf2)-1] = 0;

2016-11-09 Thread Moreno Floris
Hi Robert, I think yours is probably the right answer. My mibindex file is NOT well formed but it does contain a line feed DIR /mibs But the fact that it doesn't get filled with all the mib files raises a flag anyway. My toolchain doesn't have the dirent.h header and I'm using a custom imple

Antw: Re: What's the purpose of mib.c:2824 tmpbuf2[strlen(tmpbuf2)-1] = 0;

2016-11-09 Thread Ulrich Windl
>>> Robert Story schrieb am 08.11.2016 um 22:15 in >>> Nachricht <20161108161524.606df...@freesnmp.com>: > On Tue, 8 Nov 2016 13:02:51 -0800 Bart wrote: > BVA> On 11/08/2016 12:17 PM, Robert Story wrote: > BVA> > Static buffers/arrays should be initialized before use. If > BVA> > you find any tha

Antw: Re: What's the purpose of mib.c:2824 tmpbuf2[strlen(tmpbuf2)-1] = 0;

2016-11-09 Thread Ulrich Windl
>>> Robert Story schrieb am 08.11.2016 um 21:17 in >>> Nachricht <20161108151723.282ff...@ispx.vb.futz.org>: [...] > So the strlen - 1 chops off the newline. Actually it tries to remove the last character before '\0', even if there is none. For safetly there should be a check for a zero-length

Re: Memory leak in inetCidrRouteTable 5.7.3

2016-11-09 Thread Soubhagya Panigrahi
Hi Robert, Thank you for your response. We have already implemented this table using autogeneration method. But while doing a continuous query, I got memory leak in inetCidrRouteTable and that's the reason I am going through all over again, specially *_container_load() and add_ipv6_route_entries(

Re: [SCM] Net-SNMP branch master updated. v5.7.3-1973-gf90d891

2016-11-09 Thread Robert Story
On Wed, 9 Nov 2016 08:59:30 +0100 Magnus wrote: MF> On Tue, Nov 08, 2016 at 06:30:57PM -0800, Bart Van Assche wrote: MF> > T070com2sec_simple passes again on my development system. MF> MF> As the author of those tests I would actually prefer if I had MF> the ability to run them even if not connect

Re: Memory leak in inetCidrRouteTable 5.7.3

2016-11-09 Thread Robert Story
On Wed, 9 Nov 2016 16:10:33 +0530 Soubhagya wrote: SP> Yes, we have used mib2c compiler to generate the code and which SP> I feel it's same to MFD template. SP> SP> Apart from "Which method would you like to use to gather data SP> about available rows?" option all other option we choosed is SP> DE