summaryrefslogtreecommitdiffstats
path: root/libavcodec/sunrast.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-02-11 08:42:28 -0800
committerRonald S. Bultje <rsbultje@gmail.com>2012-02-11 10:06:50 -0800
commitdae2ce361a2b5fd9be1d43e5e8c00bdbc5f03e3d (patch)
tree79129d6d2205b244c136adad4923d176cd758a38 /libavcodec/sunrast.c
parent764852d6531016491a19d73d31e619887890f04d (diff)
downloadffmpeg-streaming-dae2ce361a2b5fd9be1d43e5e8c00bdbc5f03e3d.zip
ffmpeg-streaming-dae2ce361a2b5fd9be1d43e5e8c00bdbc5f03e3d.tar.gz
swscale: enforce a minimum filtersize.
At very small dimensions, this calculation could lead to zero-sized filters, which leads to uninitialized output, zero-sized allocations, loop overflows in SIMD that uses do{..}while(i++<filtersize); instead of for(i=0;i<filtersize;i++){..} and several other similar failures. Therefore, require a minimum filtersize of 1. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
Diffstat (limited to 'libavcodec/sunrast.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud