diff options
author | Adam Richter <[email protected]> | 2019-05-12 05:03:25 -0700 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2019-05-13 13:39:40 +0200 |
commit | b8ed4930618b170de57a9086e1e9892216454684 (patch) | |
tree | 52ccf4316ccb95a6eb45f0eae14ba5fb52f1c487 /libavcodec/mpegvideo_parser.c | |
parent | f1c9d6fe704c004b424d40d6d695beab8d6f9591 (diff) |
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 <[email protected]>
Diffstat (limited to 'libavcodec/mpegvideo_parser.c')
0 files changed, 0 insertions, 0 deletions