From: Jaroslav Kysela Date: Mon, 2 Jan 2017 16:42:45 +0000 (+0100) Subject: EPG: fix - handle CR-LF in the DVB string parser - UCS2, fixes #3968 X-Git-Tag: v4.2.1~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb495a0984245c37a4474c7d3984acdd34edc071;p=thirdparty%2Ftvheadend.git EPG: fix - handle CR-LF in the DVB string parser - UCS2, fixes #3968 --- diff --git a/src/input/mpegts/dvb_support.c b/src/input/mpegts/dvb_support.c index 17c1778ab..826cef54a 100644 --- a/src/input/mpegts/dvb_support.c +++ b/src/input/mpegts/dvb_support.c @@ -87,6 +87,7 @@ static inline size_t conv_UCS2(const uint8_t *src, size_t srclen,char *dst, size if (uc == 0xe08a) { *dst = '\n'; (*dstlen)--; + dst++; } } else { int len = encode_utf8(uc, dst, *dstlen);