diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-10-09 09:05:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-10-09 12:42:53 +0200 |
commit | 0e7bbc0427c95823fc4e2fafd37a7735c84f3b0b (patch) | |
tree | ca2d8d223ba25bfbfbf117e6469e9454f7d59fa7 /sal | |
parent | e933ffe1b863128471353c5d5e439bddccea4975 (diff) |
cid#1453854 silence Time of check time of use
Change-Id: Icfa358476db3166c29e893c09ec943aa3c38dba3
Reviewed-on: https://gerrit.libreoffice.org/80520
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/file_misc.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |