
Thanks for the response. I had assumed it was an issue with something along those lines, though I was surprised to see it results in undefined behavior instead of return of a NULL ptr (or similar). Also I was surprised to see no logs during loading of the "problematic", as it was much more difficult to pinpoint the exact location of the crash since the actual loading was successful. No troubles, just figured I'd point it out and see if there is motivation behind the lack of error handling?
-----Original Message----- From: Juergen Schoenwaelder [mailto:j.schoenwaelder@jacobs-university.de] Sent: Thursday, May 02, 2013 7:55 AM To: Jonathan Walker Cc: libsmi@ibr.cs.tu-bs.de Subject: Re: [libsmi] crash on attempt to traverse mib nodes
On Thu, May 02, 2013 at 12:28:35PM +0000, Jonathan Walker wrote:
It tends to crash at attempt to traverse nodes of a mib which uses IMPORTS of an RFC- prefixed mib. Though I understand how missing dependencies could cause problems loading/traversing a mib, I'm not sure I understand why it's crashing and no error logs are present.
IMPORTS are important for properly loading a MIB module. If some IMPORTS are absent, you may end with incomplete data structures.
/js
-- Juergen Schoenwaelder Jacobs University Bremen gGmbH Phone: +49 421 200 3587 Campus Ring 1, 28759 Bremen, Germany Fax: +49 421 200 3103 http://www.jacobs-university.de/
________________________________
This e-mail and any attachments are confidential. If it is not intended for you, please notify the sender, and please erase and ignore the contents.