From: Ron Parker <ron@pa...> - 2004-05-03 23:04:03
My timing couldn't be worse on this, I know, but I just ran some waypoints
through babel to make a human-readable file like so:
gpsbabel -i magellan -f foo.wpt -o text,nosep -F -
and BOOM! Segfault.
wpt->notes isn't guaranteed to be non-null, so using it as an argument to
strcmp without checking is bad.
I have committed a fix to all three of the formats that were affected.