]> granicus.if.org Git - sudo/commit
In io_mkdirs(), change the order from stat then mkdir, to mkdir then stat.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 6 May 2016 22:42:42 +0000 (16:42 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 6 May 2016 22:42:42 +0000 (16:42 -0600)
commitc56a812ea2f4800af1b2093bfc6f43f4badb3a76
tree2ebe0c1deecdfe302f9d221348cc2187f4a24006
parent602ed0c74794a3c05bbcbd90cd4fc49194842e54
In io_mkdirs(), change the order from stat then mkdir, to mkdir then stat.
This more closely matches what "mkdir -p" does.
Coverity CID 104120.
plugins/sudoers/iolog.c