summaryrefslogtreecommitdiff
path: root/dbrandom.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2018-03-06 21:51:51 +0800
committerMatt Johnston <matt@ucc.asn.au>2018-03-06 21:51:51 +0800
commitb22998218071612e9124fb5400b7499027aecd53 (patch)
tree5133b59c24a3e34f345f13ddff417b84ce28000a /dbrandom.c
parent0d9fe1433334e593f7517b77acbf6359d137e2c2 (diff)
downloaddropbear-b22998218071612e9124fb5400b7499027aecd53.tar.gz
workaround memory sanitizer FD_ZERO false positives
Diffstat (limited to 'dbrandom.c')
-rw-r--r--dbrandom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbrandom.c b/dbrandom.c
index 838f8ca..0a55bc5 100644
--- a/dbrandom.c
+++ b/dbrandom.c
@@ -88,7 +88,7 @@ process_file(hash_state *hs, const char *filename,
timeout.tv_sec = 2;
timeout.tv_usec = 0;
- FD_ZERO(&read_fds);
+ DROPBEAR_FD_ZERO(&read_fds);
FD_SET(readfd, &read_fds);
res = select(readfd + 1, &read_fds, NULL, NULL, &timeout);
if (res == 0)