ffmpeg/libswscale/tests
Andreas Rheinhardt 65154ba994 swscale/tests/swscale: Fix potential buffer overflow
The field width in a %s directive gives the amount of characters
to read from the input and not the size of the receiving buffer;
the latter must be of course also have space for the trailing \0
which has been forgotten here. The commit adds it (and fixes a
-Wfortify-source warning from Clang).

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2025-03-21 04:30:09 +01:00
..
.gitignore libswscale/tests: add floatimg_cmp test 2020-10-02 14:59:52 +02:00
colorspace.c swscale: Add proper ff_ prefix to init functions 2016-07-16 17:38:37 +02:00
floatimg_cmp.c swscale: rename SwsContext to SwsInternal 2024-10-24 22:50:00 +02:00
pixdesc_query.c swscale: introduce isSwappedChroma 2022-01-04 19:39:22 -06:00
swscale.c swscale/tests/swscale: Fix potential buffer overflow 2025-03-21 04:30:09 +01:00