X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=stat.c;h=e2bc8ddb5fa4a554cd45b7c2ff9f0fd16f00e91d;hb=0284718c1b9dc1d5c1c42906f0990c01af20e401;hp=05663e07b4379f7850a022b82ae96c19041cd27f;hpb=9663e751c25d3bf52e959d8c9025460d2f645b1e;p=fio.git diff --git a/stat.c b/stat.c index 05663e07..e2bc8ddb 100644 --- a/stat.c +++ b/stat.c @@ -2123,6 +2123,9 @@ static int check_status_file(void) } if (temp_dir == NULL) temp_dir = "/tmp"; +#ifdef __COVERITY__ + __coverity_tainted_data_sanitize__(temp_dir); +#endif snprintf(fio_status_file_path, sizeof(fio_status_file_path), "%s/%s", temp_dir, FIO_STATUS_FILE);