summaryrefslogtreecommitdiffhomepage
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
commita60725740b65be8679afe612f7fec2639ed0eab7 (patch)
tree6b8cb9b55c175452598bcfc11f8dbcd6d002b45b /dbrandom.c
parent5d065258da487301f269e795694702b5349de69f (diff)
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)