[vlc-commits] demux: libavi: fix null deref regression (cid #1422265)

Francois Cartegnie git at videolan.org
Wed Nov 22 11:27:56 CET 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Nov 22 11:22:36 2017 +0100| [d5bab708ae9a99561d5965383e0a7c31f09abfbb] | committer: Francois Cartegnie

demux: libavi: fix null deref regression (cid #1422265)

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

 modules/demux/avi/libavi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/avi/libavi.c b/modules/demux/avi/libavi.c
index e529348b57..c823d30326 100644
--- a/modules/demux/avi/libavi.c
+++ b/modules/demux/avi/libavi.c
@@ -108,7 +108,7 @@ static int AVI_NextChunk( stream_t *s, avi_chunk_t *p_chk )
 
     if( !p_chk )
     {
-        if( AVI_ChunkReadCommon( s, &chk, p_chk->common.p_father ) )
+        if( AVI_ChunkReadCommon( s, &chk, NULL ) )
         {
             return VLC_EGENERIC;
         }



More information about the vlc-commits mailing list