Re: [FFmpeg-devel] [PATCH] lavc/vvc: Reallocate pixel buffers if pixel shift changes

2024-06-04 Thread Nuo Mi
On Mon, Jun 3, 2024 at 9:06 PM Frank Plowman wrote: > Allocations in the following lines depend on the pixel shift, and so > these buffers must be reallocated if the pixel shift changes. Patch > fixes segmentation faults in fuzzed bitstreams. > > Signed-off-by: Frank Plowman > --- > libavcodec

[FFmpeg-devel] [PATCH] lavc/vvc: Reallocate pixel buffers if pixel shift changes

2024-06-03 Thread Frank Plowman
Allocations in the following lines depend on the pixel shift, and so these buffers must be reallocated if the pixel shift changes. Patch fixes segmentation faults in fuzzed bitstreams. Signed-off-by: Frank Plowman --- libavcodec/vvc/dec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)