Commit 5637ca81 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

MP4: fix heap-based buffer overflow

parent 90ef491b
...@@ -2247,7 +2247,7 @@ static int MP4_ReadBox_frma( stream_t *p_stream, MP4_Box_t *p_box ) ...@@ -2247,7 +2247,7 @@ static int MP4_ReadBox_frma( stream_t *p_stream, MP4_Box_t *p_box )
static int MP4_ReadBox_skcr( stream_t *p_stream, MP4_Box_t *p_box ) static int MP4_ReadBox_skcr( stream_t *p_stream, MP4_Box_t *p_box )
{ {
MP4_READBOX_ENTER( MP4_Box_data_frma_t ); MP4_READBOX_ENTER( MP4_Box_data_skcr_t );
MP4_GET4BYTES( p_box->data.p_skcr->i_init ); MP4_GET4BYTES( p_box->data.p_skcr->i_init );
MP4_GET4BYTES( p_box->data.p_skcr->i_encr ); MP4_GET4BYTES( p_box->data.p_skcr->i_encr );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment