Changeset dae2ce36 in ffmpeg

Timestamp:
Feb 11, 2012, 6:06:50 PM (13 years ago)
Author:
Ronald S. Bultje <rsbultje@gmail.com>
Branches:
master
Children:
4fbccfab
Parents:
764852d6
git-author:
Ronald S. Bultje <rsbultje@gmail.com> (02/11/12 16:42:28)
git-committer:
Ronald S. Bultje <rsbultje@gmail.com> (02/11/12 18:06:50)
Message:

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

(No files)

Note: See TracChangeset for help on using the changeset viewer.