
2 Feb
2002
2 Feb
'02
3:10 a.m.
Hi,
The following crash was encountered accidentally, when I was trying to load a bunch of arbitrary MIB files. I have nailed this down to this sequence:
1. smiLoadModule(UCD-DLMOD-MIB.txt) 2. smiLoadModule(UCD-SNMP-MIB.txt)
The first call completes successfully. In the second call, libSMI crashes.
The call stack at the crash time:
strcmp(..) findObjectByModuleAndName(..) smiparse(..) loadModule(..) smiLoadModule(..) ...
If changing the order in which the both MIB files are called, the crash disappears. But this, of course, is unacceptable as a solution.
Please find the two involved MIB files attached.
Thank you, Arie.
<<UCD-DLMOD-MIB.txt>> <<UCD-SNMP-MIB.txt>>