Fix: remove use of stat()
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 18 Jun 2013 20:00:37 +0000 (16:00 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 19 Jun 2013 18:47:22 +0000 (14:47 -0400)
commit0c7bcad5eaa11b368460759fc87f949e8c56b98f
treec2ddb027b80b8289acd29da415802e8617d54ac3
parent245463865cdd6ecb616d3ad8ddb8db11b7538d71
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 <mathieu.desnoyers@efficios.com>
src/common/utils.c
This page took 0.025074 seconds and 4 git commands to generate.