mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-25 01:32:59 +00:00
Zeroing out an fd_set before calling FD_ZERO on it is in principle useless, but without it some memory sanitizers think the fd_set is still uninitialized after FD_ZERO (e.g. clang-msan/Glibc/x86_64 where FD_ZERO is implemented in assembly). Make the zeroing conditional on using a memory sanitizer.
17 KiB
17 KiB