summaryrefslogtreecommitdiff
path: root/gpsd.h
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-09-11 19:56:42 -0700
committerGary E. Miller <gem@rellim.com>2018-09-11 19:58:17 -0700
commit52aab46cc0c3dca4bcd33d8b1c5e0eb11749ced6 (patch)
tree78d6668d1a8a3241cd3228bdabb647f8cfcd3a12 /gpsd.h
parentcf503096d5c268652b11d6cbf73ea087f7f30d7d (diff)
downloadgpsd-52aab46cc0c3dca4bcd33d8b1c5e0eb11749ced6.tar.gz
subtype: Make subtype string buffer longer.
The navcom driver could overflow subtype. This is an incompatible change to the size of devconfig_t. But API version already changed this dev cycle.
Diffstat (limited to 'gpsd.h')
-rw-r--r--gpsd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsd.h b/gpsd.h
index 144cafee..75b6cc56 100644
--- a/gpsd.h
+++ b/gpsd.h
@@ -505,7 +505,7 @@ struct gps_device_t {
struct gps_lexer_t lexer;
int badcount;
int subframe_count;
- char subtype[64]; /* firmware version or subtype ID */
+ char subtype[96]; /* firmware version or subtype ID */
time_t opentime;
time_t releasetime;
bool zerokill;