[vlc-devel] [PATCH] UTF-16 chapter titles (reworked)

Francois Cartegnie fcvlcdev at free.fr
Mon Jul 4 14:39:31 CEST 2016


Le 03/07/2016 à 21:05, Donald Campbell a écrit :
> -                s->psz_name = strndup( &p_buffer[2], i_len );
> +                if(*(&p_buffer[2])==(char)255 && *(&p_buffer[2]+1)==(char)254){ // UTF-16 BOM

No.

buffer read overflow.


Francois


More information about the vlc-devel mailing list