diff --git a/dvb_support.c b/dvb_support.c index 060d55ec..ccbaca09 100644 --- a/dvb_support.c +++ b/dvb_support.c @@ -132,6 +132,8 @@ dvb_get_string(char *dst, size_t dstlen, const uint8_t *src, in++; inlen--; continue; + } else { + return -1; } } }