FFmpeg/libswscale/tests
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
..
.gitignore
colorspace.c
swscale.c libswcale: Fix possible string overflow in test. 2019-05-13 14:09:27 +02:00