1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00
FFmpeg/libswscale/tests
Adam Richter b8ed493061 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>
2019-05-13 13:39:40 +02:00
..
.gitignore fate: add fate-sws-pixdesc-query 2017-03-20 08:02:30 +01:00
colorspace.c
pixdesc_query.c swscale: Add test for isSemiPlanarYUV to pixdesc_query 2019-05-12 07:51:02 -07:00
swscale.c libswcale: Fix possible string overflow in test. 2019-05-13 13:39:40 +02:00