
21 Mar
2007
21 Mar
'07
1:31 p.m.
On Wed, Mar 21, 2007 at 12:49:23PM +0100, Bill Fenner wrote:
I have several poorly-extracted MIBs where an I-D header ended up in the middle of the IMPORTS clause, causing a syntax error and several smiImport data structures with a null module ID. Since lastModule==NULL was used as a flag for "did I ever print anything", and strcmp has unpredictable handling for being passed NULL, I just skipped the inside of the loop if the current import's module is NULL.
Diff follows.
Thanks. Committed.
/js
--
Juergen Schoenwaelder Jacobs University Bremen
http://www.eecs.iu-bremen.de/ P.O. Box 750 561, 28725 Bremen, Germany