Re: [libsmi] More woes about smilint crash on CISCO-STACK-MIB.my

Hi Frank,
You can download the CISCO MIBs from ftp://ftp.cisco.com/pub/mibs/v2
Warning, about 50% of them have errors.
Best regards, Frank
Frank Strauss schrieb:
Hm. Without the imported non-standard modules I could reproduce the problem only before my recent patch. Could you please send me the modules CISCO-TC, CISCO-SMI, and CISCO-VTP-MIB (if this would not violate any license restrictions)?
-frank

Frank> Hi Frank,
Hi Frank!
Frank> You can download the CISCO MIBs from Frank> ftp://ftp.cisco.com/pub/mibs/v2 Frank> Warning, about 50% of them have errors.
Oh, sure. Thanks, Frank.
Anyway, Joey, I still cannot reproduce the segfault. Of course, this doesn't mean that there's no more memory leak or dangling pointer.
-frank

I get a segmentation fault due to a null parentPtr in the new parent node type checking code in various MIBs that are being automatically processed. I haven't done any tracking down yet; add a
if (parentPtr)
around line 238 of parser-smi.y right before the switch is a workaround for the core dumps but I don't know if it's the right solution.
Bill

Hi!
Bill> I get a segmentation fault due to a null parentPtr in the new parent Bill> node type checking code in various MIBs that are being automatically Bill> processed. I haven't done any tracking down yet; add a
Bill> if (parentPtr)
Bill> around line 238 of parser-smi.y right before the switch is a workaround Bill> for the core dumps but I don't know if it's the right solution.
This modification looks good to. I've applied it to the CVS repository. Thank you.
-frank
participants (3)
-
Bill Fenner
-
Frank Strauss
-
Frank.Fock@t-online.de