Re: [libav-devel] [PATCH 1/2] xwma: Validate channels and bits_per_coded_sample.

2012-03-21 Thread Kostya Shishkov
On Wed, Mar 21, 2012 at 11:27:05AM -0700, Alex Converse wrote: > This prevents a SIGFPE later on. > > Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind > CC: libav-sta...@libav.org > --- > libavformat/xwma.c |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/l

[libav-devel] [PATCH 1/2] xwma: Validate channels and bits_per_coded_sample.

2012-03-21 Thread Alex Converse
This prevents a SIGFPE later on. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-sta...@libav.org --- libavformat/xwma.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/libavformat/xwma.c b/libavformat/xwma.c index 2c6ee11..20845ef 100644 --- a/libavf