]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
EPG: fix - handle CR-LF in the DVB string parser - UCS2, fixes #3968
authorJaroslav Kysela <perex@perex.cz>
Mon, 2 Jan 2017 16:42:45 +0000 (17:42 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 2 Jan 2017 16:42:45 +0000 (17:42 +0100)
src/input/mpegts/dvb_support.c

index 17c1778abb33a08a5448f0d4c2a59a399c201541..826cef54ad95ae16babc6f6ddce6ce815fb8927e 100644 (file)
@@ -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);