Re: Loading a particular MIB causes "init_snmp" to crash

Gaurav Chaturvedi <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Dave,

I am glad to say that I have fixed the issue of library crashing due to
erroneous MIBs or any parse error in MIB and I have done it within a day.

Please let me know how to submit the fix/patch now.

I must say here that it is really an amazing learning experience and an
ultimate proud feeling that comes within yourself after finding and fixing
such typical issues.

I would love to be the part of Coders of Open source libraries in future
also.

Thanks for the motivation.

Regards
Gaurav Chaturvedi


On Tue, Aug 10, 2010 at 3:01 PM, Gaurav Chaturvedi <
[email protected]> wrote:

> Hi Dave,
>
> Sure, I am trying to fix this. Will provide the same soon.
>
> In the meantime, if anybody is able to provide a fix/work-around for this,
> it will be highly appreciated.
>
> Thanks and Regards
> Gaurav Chaturvedi
>
>
> On Tue, Aug 10, 2010 at 2:21 PM, Dave Shield <[email protected]>wrote:
>
>> On 10 August 2010 09:25, Gaurav Chaturvedi <[email protected]>
>> wrote:
>> > Thanks for the response. I know the error in MIB file (same as specified
>> by
>> > Dave), but should an erroneous value in MIB crash the application?
>>
>> No - of course it shouldn't.
>> The MIB parser wasn't written in the expectation of such a broken MIB,
>> and really needs to be tightened up.
>>
>>
>> > I want to know some way that can report error on MIB and exit/write a
>> log.
>>
>> The first step is to investigate what exactly is causing the parser to
>> crash,
>> and fix that.   If you can provide a suitable patch, then we would be
>> happy to
>> include it in the code for future releases.
>>
>> Dave
>>
>
>

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.