From 0e7bbc0427c95823fc4e2fafd37a7735c84f3b0b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 9 Oct 2019 09:05:11 +0100 Subject: cid#1453854 silence Time of check time of use MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Icfa358476db3166c29e893c09ec943aa3c38dba3 Reviewed-on: https://gerrit.libreoffice.org/80520 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sal/osl/unx/file_misc.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'sal') diff --git a/sal/osl/unx/file_misc.cxx b/sal/osl/unx/file_misc.cxx index 4e33e06da0ae..67ba37f6f7e1 100644 --- a/sal/osl/unx/file_misc.cxx +++ b/sal/osl/unx/file_misc.cxx @@ -623,6 +623,7 @@ oslFileError SAL_CALL osl_replaceFile(rtl_uString* ustrFileURL, rtl_uString* ust if (eRet == osl_File_E_None) { struct stat aFileStat; + // coverity[fs_check_call] - unavoidable TOCTOU int nRet = stat(destPath, &aFileStat); if (nRet == -1) { -- cgit