ffmpeg/libswscale
Adam Richter 280f5c4fcf libswcale: Fix possible string overflow in test.
In libswcale/tests/swcale.c, the function fileTest() calls sscanf in
an argument of "%12s" on character srcStr[] and dstStr[], which are
only 12 bytes.  So, if the input string is 12 characters, a
terminating null byte can be written past the end of these arrays.

This bug was found by cppcheck.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit b8ed493061)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-05-13 14:09:27 +02:00
..
aarch64
arm
ppc Revert "PPC64: Add versions of functions in libswscale/input.c optimized for POWER8 VSX SIMD." 2016-07-11 10:15:05 -04:00
tests libswcale: Fix possible string overflow in test. 2019-05-13 14:09:27 +02:00
x86 swscale: save ebx register when it is not available 2017-01-26 02:22:09 +01:00
alphablend.c
bayer_template.c
gamma.c
hscale_fast_bilinear.c
hscale.c
input.c swscale: add input support for gbrap10 pixel format 2016-06-10 17:17:12 +02:00
libswscale.v build: Change structure of the linker version script templates 2016-05-29 16:43:11 +02:00
log2_tab.c
Makefile
options.c
output.c swscale: add support for P010LE/BE output 2016-08-31 13:19:46 +02:00
rgb2rgb_template.c
rgb2rgb.c
rgb2rgb.h
slice.c swscale: fix ring buffer size when scaling slices of a frame 2016-06-10 09:45:24 -03:00
swscale_internal.h Revert "PPC64: Add versions of functions in libswscale/input.c optimized for POWER8 VSX SIMD." 2016-07-11 10:15:05 -04:00
swscale_unscaled.c swscale: add unscaled conversion from yuv420p to p010 2016-09-06 12:41:28 +02:00
swscale.c swscale/swscale: Fix dereference of stride array before null check 2017-01-26 00:34:12 +01:00
swscale.h doxygen: Standardize root-level modules 2016-08-02 22:15:25 -07:00
swscaleres.rc
utils.c swscale: add support for P010LE/BE output 2016-08-31 13:19:46 +02:00
version.h Revert "Bump minor versions after 3.2 branchpoint to seperate release" 2016-10-26 21:22:12 +02:00
vscale.c
yuv2rgb.c