
Hi!
Nick> I've compiled the latest cvs version if libsmi with VS .NET Nick> under windows XP. I've come across an access violation when Nick> running the smiquery application (with no modifications) when Nick> requestin node information on any item in the IF- MIB mib (for Nick> example IF-IB::ifNumber.0). The error occurs in data.c line Nick> 3511 which is this if statment:
Nick> if ((objectPtr->typePtr->export.basetype == Nick> SMI_BASETYPE_OCTETSTRING || Nick> objectPtr-> typePtr->export.basetype == Nick> SMI_BASETYPE_BITS))
Nick> The objectPtr->typePtr->export address does appear to be valid, Nick> but VC++ reports that objectPtr->typePtr->export.basetype cannot Nick> be evaluated. I've not modified any of the source and I've also Nick> tried the packaged files available on the web site with the same Nick> result. I've tries other MIB entries including ones in Nick> SNMPv2-MIB, RFC1213-MIB, IP-MIB, TCP-MIB and UDP-MIB without any Nick> problems, it just appears to occur ith IF-MIB.
Nick> Anyone got any ideas on this one?
I have a very rough idea and I hope that this bug has just been repaired last week when I fixed a bug with forward references enumeration types. The fix is in the anonymous CVS. Could you please give it a try?
-frank