From 797a1282566b62c2a3fa9c2bb5443adc316ee594 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 25 Aug 2020 11:46:47 +0200 Subject: [PATCH] plugins: suppress coverity toctou warning --- src/util-plugin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util-plugin.c b/src/util-plugin.c index 94f7c13d51..3e34e05a86 100644 --- a/src/util-plugin.c +++ b/src/util-plugin.c @@ -90,6 +90,7 @@ void SCPluginsLoad(const char *capture_plugin_name, const char *capture_plugin_a continue; } if (S_ISDIR(statbuf.st_mode)) { + // coverity[toctou : FALSE] DIR *dir = opendir(plugin->val); if (dir == NULL) { SCLogError(SC_ERR_DIR_OPEN, "Failed to open plugin directory %s: %s", -- 2.47.2