ubase

suckless linux base utils
git clone git://git.suckless.org/ubase
Log | Files | Refs | README | LICENSE

commit 10a539e7445ed00f3c6914bf17e3c9d84906c031
parent fa0b80442c2b7b81a38447db0b223d4d66e37748
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat, 12 Jul 2014 20:33:02 +0000

passwd: fix potential double close()

Diffstat:
Mpasswd.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/passwd.c b/passwd.c @@ -209,7 +209,6 @@ newpass: r = pw_copy(tfd, ffd, NULL); if (r < 0) goto cleanup; - close(ffd); } status = EXIT_SUCCESS;