[vlc-devel] [PATCH] fix abort (crash) if EPG string is not UTF8

Francois Cartegnie fcvlcdev at free.fr
Wed Nov 22 15:08:24 CET 2017


Le 21/11/2017 à 20:55, Abylay Ospan a écrit :
> Agree. My original patch not fixing root cause of this problem. Below is
> more details and sample. Need to decide what the best way to fix this
> problem and I will try to fix. Should we convert all EIT strings to UTF-8 ?
> If yes then possibly somewhere in libdvbpsi (as it may obtain character
> set) ?
> As I understand vlc GUI accept only UTF8 strings, right ?
> How does it work now and how it should work (correct) ?
> 
> 
> --- additional details
> 
> TS Sample (54MB). This is ATSC full TS dump. Obtained in Miami, FL,
> USA. 671Mhz. just run latest vlc with this file to see the problem.
> 
> https://drive.google.com/file/d/10HwVhyXk6TQK5-s60FnlZcircJ0_9tc7/view?usp=sharing
> 
> backtrace and hexdump of psz_val below. It contains "Abismo de pasión"
> where symbol "ó" is 0xF3 (for example in windows-1252 charset).

Has been fixed.

thanks

-- 
Francois Cartegnie
VideoLAN - VLC Developer


More information about the vlc-devel mailing list