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 | b22998218071612e9124fb5400b7499027aecd53 (patch) | |
tree | 5133b59c24a3e34f345f13ddff417b84ce28000a /dbrandom.c | |
parent | 0d9fe1433334e593f7517b77acbf6359d137e2c2 (diff) | |
download | dropbear-b22998218071612e9124fb5400b7499027aecd53.tar.gz |
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) |