diff options
author | Matt Johnston <matt@ucc.asn.au> | 2018-03-06 21:51:51 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2018-03-06 21:51:51 +0800 |
commit | a60725740b65be8679afe612f7fec2639ed0eab7 (patch) | |
tree | 6b8cb9b55c175452598bcfc11f8dbcd6d002b45b /dbrandom.c | |
parent | 5d065258da487301f269e795694702b5349de69f (diff) |
workaround memory sanitizer FD_ZERO false positives
Diffstat (limited to 'dbrandom.c')
-rw-r--r-- | dbrandom.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |