diff options
author | Gary E. Miller <gem@rellim.com> | 2018-02-08 19:26:13 -0800 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-02-08 19:26:13 -0800 |
commit | 89da38d168e5d8ad1fc7886bacf43b9b1e0aaea0 (patch) | |
tree | d759eb983ddacf2fcbaeb0be99700a2b834cfc5d /gpsmon.c | |
parent | dd18103237b7089114aa6830f2abe85fb3420fde (diff) | |
download | gpsd-89da38d168e5d8ad1fc7886bacf43b9b1e0aaea0.tar.gz |
gpsmon, promptgen: buffer was too small.
135 > 128.
Diffstat (limited to 'gpsmon.c')
-rw-r--r-- | gpsmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -425,7 +425,7 @@ void monitor_log(const char *fmt, ...) static const char *promptgen(void) { - static char buf[sizeof(session.gpsdata.dev.path)]; + static char buf[256]; if (serial) (void)snprintf(buf, sizeof(buf), |