aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/hash.c
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2013-06-16 09:46:17 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-06-16 09:50:16 +0200
commit8962da9ec367b535f975c876643ed2cad2bad32e (patch)
tree97284e93e630d5126e54b904080d6eb542e7910b /libavutil/hash.c
parent359af6a7c74a0231d217b4102af03e1d75f3167a (diff)
downloadffmpeg-8962da9ec367b535f975c876643ed2cad2bad32e.tar.gz
rawdec: allocate a buffer in the appropriate size in the copy case.
Otherwise the created buffer can be smaller than buf_size, which results in buffer overreads if the original image has extra padding on every line. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/hash.c')
0 files changed, 0 insertions, 0 deletions