---
sent.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sent.c b/sent.c
index c50a572..f9dcd75 100644
--- a/sent.c
+++ b/sent.c
_AT_@ -428,6 +428,10 @@ load(FILE *fp)
maxlines = 0;
memset((s = &slides[slidecount]), 0, sizeof(Slide));
do {
+ /* if there's a leading null, we can't do blen-1 */
+ if (!*buf)
+ continue;
+
if (buf[0] == '#')
continue;
--
2.26.2
Received on Tue May 12 2020 - 19:51:02 CEST
This archive was generated by hypermail 2.3.0 : Tue May 12 2020 - 20:24:37 CEST