[vlc-commits] MP4: fix heap-based buffer overflow
Rémi Denis-Courmont
git at videolan.org
Sun Apr 10 10:27:27 CEST 2011
vlc/vlc-1.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Apr 8 19:22:40 2011 +0300| [736e05bbeb9e5cf8faf517d417e8b1c67015104a] | committer: Rémi Denis-Courmont
MP4: fix heap-based buffer overflow
(cherry picked from commit 5637ca8141bf39f263ecdb62035d2cb45c740821)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.0.git/?a=commit;h=736e05bbeb9e5cf8faf517d417e8b1c67015104a
---
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 dafe7d0..dc9901a 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -2167,7 +2167,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