[vlc-commits] asf: Fix missing fp pointer reset
Hugo Beauzée-Luyssen
git at videolan.org
Wed Aug 14 18:13:30 CEST 2019
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Aug 2 14:40:04 2019 +0200| [d5a9fb5c671a00b13ca0a8d39489f4ee0ac23f94] | committer: Hugo Beauzée-Luyssen
asf: Fix missing fp pointer reset
This fixes a potential use after free
CVE-2019-14533
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d5a9fb5c671a00b13ca0a8d39489f4ee0ac23f94
---
modules/demux/asf/asf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/asf/asf.c b/modules/demux/asf/asf.c
index 6724e38428..9dd30eb462 100644
--- a/modules/demux/asf/asf.c
+++ b/modules/demux/asf/asf.c
@@ -1391,6 +1391,7 @@ static void DemuxEnd( demux_t *p_demux )
{
ASF_FreeObjectRoot( p_demux->s, p_sys->p_root );
p_sys->p_root = NULL;
+ p_sys->p_fp = NULL;
}
if( p_sys->meta )
{
More information about the vlc-commits
mailing list