[vlc-commits] demux: mp4: fix stupid read heap overflow
Francois Cartegnie
git at videolan.org
Fri Jan 20 21:30:06 CET 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jan 19 17:50:44 2017 +0100| [082a1de7ce7deaae46e2ab84780f86814d69ddc3] | committer: Francois Cartegnie
demux: mp4: fix stupid read heap overflow
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=082a1de7ce7deaae46e2ab84780f86814d69ddc3
---
modules/demux/mp4/mp4.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 92904c5..f98b3e0 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -2955,7 +2955,7 @@ static void MP4_TrackRestart( demux_t *p_demux, mp4_track_t *p_track,
{
if( !es_format_IsSimilar( &fmtbackup, &p_track->fmt ) ||
fmtbackup.i_extra != p_track->fmt.i_extra ||
- memcmp( &fmtbackup.p_extra, &p_track->fmt.p_extra, fmtbackup.i_extra ) )
+ memcmp( fmtbackup.p_extra, p_track->fmt.p_extra, fmtbackup.i_extra ) )
{
if( p_es_backup )
es_out_Del( p_demux->out, p_es_backup );
More information about the vlc-commits
mailing list