[vlc-commits] MP4: fix heap-based buffer overflow

Rémi Denis-Courmont git at videolan.org
Sat Apr 9 11:07:55 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Apr  8 19:22:40 2011 +0300| [5637ca8141bf39f263ecdb62035d2cb45c740821] | committer: Rémi Denis-Courmont

MP4: fix heap-based buffer overflow

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5637ca8141bf39f263ecdb62035d2cb45c740821
---

 modules/demux/mp4/libmp4.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index b6f860f..7eb900a 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -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 )
 {
-    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_encr );



More information about the vlc-commits mailing list