[nos-bbs] Segmentation Fault

Maiko Langelaar maiko at pcs.mb.ca
Thu Feb 16 00:14:33 EST 2017


Hi Ray,

>>     print ifp
> $2 = (struct iface *) 0x0

This is helpful. It means the interface lookup failed for
whatever reason in that particular code, and of course there
is no check to see if the lookup failed, so the code continues
and tries to access an invalid pointer, and boom !

Easy enough for me to put in a fix, BUT, it would be nice to
know what CAUSED this in the first place. Let me know what you
find please if you do wind up finding anything. Thanks Ray !

Maiko




More information about the nos-bbs mailing list