RE: Proposed fix for mib.c

2017-01-09 Thread Moreno Floris
Thank you very much, it works fine. MF -Original Message- From: Magnus Fromreide [mailto:ma...@lysator.liu.se] Sent: giovedì 5 gennaio 2017 18:34 To: Moreno Floris ; net-snmp-coders@lists.sourceforge.net Subject: Re: Proposed fix for mib.c On Thu, Jan 05, 2017 at 02:21:42PM +

Re: Proposed fix for mib.c

2017-01-05 Thread Magnus Fromreide
On Thu, Jan 05, 2017 at 02:21:42PM +, Moreno Floris wrote: > Hello, > > I'm running net-snmp 5.7.3 on an embedded platform with 16KB of stack for a > single task and I ran into a nasty stack overflow while running the coding > tutorial example. > > After some investigation I found out that

Proposed fix for mib.c

2017-01-05 Thread Moreno Floris
Hello, I'm running net-snmp 5.7.3 on an embedded platform with 16KB of stack for a single task and I ran into a nasty stack overflow while running the coding tutorial example. After some investigation I found out that _get_realloc_symbol() in mib.c is called recursively 8 times and contains th