From: Mathieu Desnoyers Date: Tue, 18 Jun 2013 20:00:37 +0000 (-0400) Subject: Fix: remove use of stat() X-Git-Tag: v2.2.0-rc3~11 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=0c7bcad5eaa11b368460759fc87f949e8c56b98f;hp=0c7bcad5eaa11b368460759fc87f949e8c56b98f;p=lttng-tools.git Fix: remove use of stat() 1019896 Time of check time of use In utils_mkdir_recursive: A check occurs on a file's attributes before the file is used in a privileged operation, but things may have changed (CWE-367) mkdir() is already doing the EEXIST check. Signed-off-by: Mathieu Desnoyers ---