From 52aab46cc0c3dca4bcd33d8b1c5e0eb11749ced6 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Tue, 11 Sep 2018 19:56:42 -0700 Subject: 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. --- gpsd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gpsd.h') 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; -- cgit v1.2.1