From 89da38d168e5d8ad1fc7886bacf43b9b1e0aaea0 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Thu, 8 Feb 2018 19:26:13 -0800 Subject: gpsmon, promptgen: buffer was too small. 135 > 128. --- gpsmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gpsmon.c') diff --git a/gpsmon.c b/gpsmon.c index 89c43ee2..a68c90f4 100644 --- a/gpsmon.c +++ b/gpsmon.c @@ -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), -- cgit v1.2.1