]> git.ipfire.org Git - thirdparty/coreutils.git/commit
rmdir: fix uninitialized memory causing incorrect error
authorPádraig Brady <P@draigBrady.com>
Thu, 16 Sep 2021 22:31:07 +0000 (23:31 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 16 Sep 2021 22:45:16 +0000 (23:45 +0100)
commit14ed8b8810508d284df21a06b14093537a24e4cf
tree367ac5d10950d9ef81d6b64aeedc6358d6d7dad1
parent3283cc7725bd7d070b772225b263e7f7718c8195
rmdir: fix uninitialized memory causing incorrect error

* src/rmdir.c (main): Only inspect the returned stat structure,
when stat(2) returns success.
src/rmdir.c