[vlc-devel] [PATCH 1/4] demux/mp4: store length of payload in MP4_Box_data_string_t

Francois Cartegnie fcvlcdev at free.fr
Wed Nov 16 11:58:33 CET 2016


Le 16/11/2016 à 11:37, Filip Roséen a écrit :
f165592 100644
> --- a/modules/demux/mp4/libmp4.h
> +++ b/modules/demux/mp4/libmp4.h
> @@ -1176,6 +1176,7 @@ typedef struct
>  typedef struct
>  {
>      char *psz_text;
> +    uint64_t i_length;
>  

ReadBox_String will never succeed with more than SIZE_MAX.

Francois



More information about the vlc-devel mailing list