• Ronald S. Bultje's avatar
    swscale: enforce a minimum filtersize. · dae2ce36
    Ronald S. Bultje authored
    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
    dae2ce36
Name
Last commit
Last update
..
bfin Loading commit data...
ppc Loading commit data...
sparc Loading commit data...
x86 Loading commit data...
Makefile Loading commit data...
colorspace-test.c Loading commit data...
input.c Loading commit data...
libswscale.v Loading commit data...
options.c Loading commit data...
output.c Loading commit data...
rgb2rgb.c Loading commit data...
rgb2rgb.h Loading commit data...
rgb2rgb_template.c Loading commit data...
swscale-test.c Loading commit data...
swscale.c Loading commit data...
swscale.h Loading commit data...
swscale_internal.h Loading commit data...
swscale_unscaled.c Loading commit data...
utils.c Loading commit data...
yuv2rgb.c Loading commit data...