summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2020-05-06 08:29:48 +0300
committerXavi Hernandez <xhernandez@redhat.com>2020-05-18 07:17:40 +0000
commit8e550380f7098275452fc26c46489739aa8bdae6 (patch)
treed608c63cbca44d42ca627e644b0403568a314be3 /xlators/storage/posix
parentdc1d549d0e776ecd4c8381577eeed990250a7f6a (diff)
features/bit-rot: invalid snprintf() buffer size
Found with clang-10 -Wfortify-source: bit-rot-scrub.c:1802:15: warning: 'snprintf' size argument is too large; destination buffer has size 32, but size argument is 4096 [-Wfortify-source] len = snprintf(key, PATH_MAX, "quarantine-%d", j); ^ bit-rot-scrub.c:1813:9: warning: 'snprintf' size argument is too large; destination buffer has size 32, but size argument is 4096 [-Wfortify-source] snprintf(main_key, PATH_MAX, "quarantine-%d", tmp_count); Change-Id: I9b9c09ef2223ed181d81215154345de976b82f13 Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru> Fixes: #1221
Diffstat (limited to 'xlators/storage/posix')
0 files changed, 0 insertions, 0 deletions