filestore: suppress coverity toctou warning

pull/3553/head
Victor Julien 7 years ago
parent cb2008fb27
commit 7b318592e6

@ -522,6 +522,7 @@ static TmEcode LogFilestoreLogThreadInit(ThreadVars *t, const void *initdata, vo
struct stat stat_buf;
if (stat(g_logfile_base_dir, &stat_buf) != 0) {
int ret;
// coverity[toctou : FALSE]
ret = SCMkDir(g_logfile_base_dir, S_IRWXU|S_IXGRP|S_IRGRP);
if (ret != 0) {
int err = errno;

Loading…
Cancel
Save