From: Robert Lipe <robertlipe@us...> - 2002-11-25 02:08:25
I finally tracked down the reason writing serial waypoints with certain
combinations of lengths in the waypoint comments and names would crash
I'm becoming increasingly less amused with libjeeps. Even though the
doc states that certain fields are fixed length and should be padded
with blanks, it runs around doing
while (*d++ = * s++);
loops to copy the data. So this only works if your source data IS
null terminated and stomps all over memory if your data is NOT null
I found this on a unit that does D109 (a borrowed GPS V), but I can
prove that D108 has the same problem so I went ahead and blindly "fixed"
that the same way. Any garmin users in the audience - especially
windows users - are asked to verify that gpsbabel works for them.