From fba5a52e92dfcbb96a2c2ca3bafa5f3e9d112bbe Mon Sep 17 00:00:00 2001 From: hummypkg Date: Sun, 23 Nov 2014 22:25:31 +0000 Subject: [PATCH] skip decompression for null strings --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 091a9fd..5641dac 100644 --- a/main.c +++ b/main.c @@ -21,7 +21,7 @@ #include "lint.h" int debug = 0; -const char *version = "1.0.13"; +const char *version = "1.0.14"; unsigned long sysopts = 0; unsigned long filterflags = 0; static time_t latest_stamp = 0; @@ -88,7 +88,7 @@ syntax() } #define DECOMPRESS(str, len) \ - if (*(str) == 0x1f) uncompress_epg(&(str), &(len)) + if (str && *(str) == 0x1f) uncompress_epg(&(str), &(len)) void pass(struct epg *epg __attribute__((unused)),