diff options
author | 2019-05-28 18:20:30 +0000 | |
---|---|---|
committer | 2019-05-28 18:20:30 +0000 | |
commit | 47e90edf2547aa5564994e0460f7fb635c1d5c4d (patch) | |
tree | f90bb5962f61b9147ef52982fbeb14fb4df60005 | |
parent | Correct the test for when the L1TF vulnerablity has been mitigated via (diff) | |
download | wireguard-openbsd-47e90edf2547aa5564994e0460f7fb635c1d5c4d.tar.xz wireguard-openbsd-47e90edf2547aa5564994e0460f7fb635c1d5c4d.zip |
unintialized fd passed to close(), found by hiltjo posthuma
-rw-r--r-- | usr.bin/rsync/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rsync/main.c b/usr.bin/rsync/main.c index 967e6528bc2..4f6137420b4 100644 --- a/usr.bin/rsync/main.c +++ b/usr.bin/rsync/main.c @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.45 2019/05/08 20:00:25 benno Exp $ */ +/* $Id: main.c,v 1.46 2019/05/28 18:20:30 deraadt Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -271,7 +271,7 @@ main(int argc, char *argv[]) { struct opts opts; pid_t child; - int fds[2], sd, rc, c, st, i; + int fds[2], sd = -1, rc, c, st, i; struct sess sess; struct fargs *fargs; char **args; |