Control: forwarded -1 https://sourceforge.net/p/mpg123/bugs/216/ Control: tags -1 + upstream patch
Hi Yuriy On 2015-05-24 23:08:12, Yuriy M. Kaminskiy wrote: > Package: libmpg123-0 > Version: 1.20.1-2 > Severity: normal > > Dear Maintainer, > > utf-16 decoder in id3 parser improperly identifies surrogate pairs, > resulting in improper identification of characters in 0xf800-0xfffe range as > leading surrogate and decoding failure. > > E.g. attempt to decode title "「x」~y~" results in: > [id3.c:1065] error: Invalid UTF16 surrogate pair at 0 (0xff62). > and empty parsed title. > Attempt to decode title "xy&zte" results in: > [id3.c:1065] error: Invalid UTF16 surrogate pair at 4 (0xff06). > and "xy" in parsed title. > > Patch attached, verified to work. > This bug still present in the latest upstream version (1.22.2). Thank you for your bug report. I've forwarded it upstream including your patch. Cheers -- Sebastian Ramacher
signature.asc
Description: Digital signature

