| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
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
|
6 years ago |
|
|
45a0a449bd |
libswscale/tests/swscale: Fix uninitialized variables
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit
|
8 years ago |
|
|
7a6c288c2b |
swscale/tests/swscale: add cpuflags option
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> |
9 years ago |
|
|
a6a750c7ef | tests: Move all test programs to a subdirectory | 9 years ago |