Re: [FFmpeg-devel] [PATCH] avcodec/flashsv2enc: Fix use of uninitialized value

2021-01-27 Thread Marton Balint
On Wed, 27 Jan 2021, Andreas Rheinhardt wrote: Before 257a83b969157eb76c18158a4e503e908d8b1125, certain buffers were zero-allocated in the init function and only reallocated lateron if they turned out to be too small; now they are only allocated during init, leading to use-of-uninitialized val

[FFmpeg-devel] [PATCH] avcodec/flashsv2enc: Fix use of uninitialized value

2021-01-27 Thread Andreas Rheinhardt
Before 257a83b969157eb76c18158a4e503e908d8b1125, certain buffers were zero-allocated in the init function and only reallocated lateron if they turned out to be too small; now they are only allocated during init, leading to use-of-uninitialized values lateron. The same could happen before if the dim