]> err.no Git - mapper/commit
Sanity check for the NMEA sentence we try to parse.
authorKaj-Michael Lang <milang@onion.tal.org>
Tue, 29 Jan 2008 16:09:54 +0000 (18:09 +0200)
committerKaj-Michael Lang <milang@onion.tal.org>
Tue, 29 Jan 2008 16:09:54 +0000 (18:09 +0200)
commit45c94211797fb2a63374d631f32055c5dcc4d0a8
tree61a49ff48c3c53d56a8c7f2786cd6a32fd477bb4
parentd5ce56e821bdd93e5761c34806c1bcc342b239cb
Sanity check for the NMEA sentence we try to parse.
- define the used NMEA prefixes.
- Don't blindly skip the common prefix, check the whole NMEA prefix.
- Check that the sentence is long enough to make sense.
src/gps-nmea-parse.c