Re: [FFmpeg-devel] [PATCH] avformat/vpk: fix divide by zero

2024-11-08 Thread Michael Niedermayer
On Sat, Nov 02, 2024 at 07:22:46AM +0100, Kacper Michajlow wrote: > On Sat, 2 Nov 2024 at 01:54, Michael Niedermayer > wrote: > > > > Hi > > > > On Fri, Nov 01, 2024 at 02:20:33PM +0100, Kacper Michajlow wrote: > > > On Sat, 10 Aug 2024 at 18:49, Kacper Michajlow wrote: > > > > > > > > On Sat, 1

Re: [FFmpeg-devel] [PATCH] avformat/vpk: fix divide by zero

2024-11-01 Thread Kacper Michajlow
On Sat, 2 Nov 2024 at 01:54, Michael Niedermayer wrote: > > Hi > > On Fri, Nov 01, 2024 at 02:20:33PM +0100, Kacper Michajlow wrote: > > On Sat, 10 Aug 2024 at 18:49, Kacper Michajlow wrote: > > > > > > On Sat, 10 Aug 2024 at 11:25, Andreas Rheinhardt > > > wrote: > > > > > > > > Kacper Michajlo

Re: [FFmpeg-devel] [PATCH] avformat/vpk: fix divide by zero

2024-11-01 Thread Michael Niedermayer
Hi On Fri, Nov 01, 2024 at 02:20:33PM +0100, Kacper Michajlow wrote: > On Sat, 10 Aug 2024 at 18:49, Kacper Michajlow wrote: > > > > On Sat, 10 Aug 2024 at 11:25, Andreas Rheinhardt > > wrote: > > > > > > Kacper Michajlow: > > > > On Fri, 9 Aug 2024 at 22:51, Michael Niedermayer > > > > wrote:

Re: [FFmpeg-devel] [PATCH] avformat/vpk: fix divide by zero

2024-11-01 Thread Kacper Michajlow
On Sat, 10 Aug 2024 at 18:49, Kacper Michajlow wrote: > > On Sat, 10 Aug 2024 at 11:25, Andreas Rheinhardt > wrote: > > > > Kacper Michajlow: > > > On Fri, 9 Aug 2024 at 22:51, Michael Niedermayer > > > wrote: > > >> > > >> On Wed, Aug 07, 2024 at 03:42:46PM +0200, Kacper Michajłow wrote: > > >

Re: [FFmpeg-devel] [PATCH] avformat/vpk: fix divide by zero

2024-08-10 Thread Kacper Michajlow
On Sat, 10 Aug 2024 at 11:25, Andreas Rheinhardt wrote: > > Kacper Michajlow: > > On Fri, 9 Aug 2024 at 22:51, Michael Niedermayer > > wrote: > >> > >> On Wed, Aug 07, 2024 at 03:42:46PM +0200, Kacper Michajłow wrote: > >>> Can happen after calling avformat_find_stream_info() when the codec > >>

Re: [FFmpeg-devel] [PATCH] avformat/vpk: fix divide by zero

2024-08-10 Thread Andreas Rheinhardt
Kacper Michajlow: > On Fri, 9 Aug 2024 at 22:51, Michael Niedermayer > wrote: >> >> On Wed, Aug 07, 2024 at 03:42:46PM +0200, Kacper Michajłow wrote: >>> Can happen after calling avformat_find_stream_info() when the codec >>> fails to open, but return value is 0 and subsequent uses of this contex

Re: [FFmpeg-devel] [PATCH] avformat/vpk: fix divide by zero

2024-08-09 Thread Kacper Michajlow
On Fri, 9 Aug 2024 at 22:51, Michael Niedermayer wrote: > > On Wed, Aug 07, 2024 at 03:42:46PM +0200, Kacper Michajłow wrote: > > Can happen after calling avformat_find_stream_info() when the codec > > fails to open, but return value is 0 and subsequent uses of this context > > have zero value in

Re: [FFmpeg-devel] [PATCH] avformat/vpk: fix divide by zero

2024-08-09 Thread Michael Niedermayer
On Wed, Aug 07, 2024 at 03:42:46PM +0200, Kacper Michajłow wrote: > Can happen after calling avformat_find_stream_info() when the codec > fails to open, but return value is 0 and subsequent uses of this context > have zero value in channel number. > > Found by OSS-Fuzz. > > Signed-off-by: Kacper

[FFmpeg-devel] [PATCH] avformat/vpk: fix divide by zero

2024-08-07 Thread Kacper Michajłow
Can happen after calling avformat_find_stream_info() when the codec fails to open, but return value is 0 and subsequent uses of this context have zero value in channel number. Found by OSS-Fuzz. Signed-off-by: Kacper Michajłow --- libavformat/vpk.c | 2 ++ 1 file changed, 2 insertions(+) diff