summaryrefslogtreecommitdiffstats
path: root/libavformat/webm_chunk.c
diff options
context:
space:
mode:
authorAdam Richter <[email protected]>2019-05-12 05:03:25 -0700
committerMichael Niedermayer <[email protected]>2019-12-02 19:41:48 +0100
commitb55cf5f53d3ee1619314d8a43f7a34e203d7969f (patch)
tree658fa4412eaf7ef892002a0d1b8e99e8e249badf /libavformat/webm_chunk.c
parent332de4c1e42e342451bc3d744466f8dc45125282 (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]> (cherry picked from commit b8ed4930618b170de57a9086e1e9892216454684) Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavformat/webm_chunk.c')
0 files changed, 0 insertions, 0 deletions