Re: [FFmpeg-devel] [PATCH] bink: check vst->index_entries before using it

2015-04-22 Thread Michael Niedermayer
On Wed, Apr 22, 2015 at 05:08:51PM +0200, Andreas Cadhalpun wrote: > This fixes a NULL pointer dereference if vst->duration is 0. > > The problem was introduced in commit 0588acaf. > > Signed-off-by: Andreas Cadhalpun > --- > libavformat/bink.c | 5 - > 1 file changed, 4 insertions(+), 1 de

[FFmpeg-devel] [PATCH] bink: check vst->index_entries before using it

2015-04-22 Thread Andreas Cadhalpun
This fixes a NULL pointer dereference if vst->duration is 0. The problem was introduced in commit 0588acaf. Signed-off-by: Andreas Cadhalpun --- libavformat/bink.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/bink.c b/libavformat/bink.c index 92ce261..332e