You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (internal_iserror(bytes_written, &write_errno)) {
CHECK_EQ(EFAULT, write_errno);
result = false;
} else {
result = (bytes_written == size);
}
internal_close(sock_pair[0]);
internal_close(sock_pair[1]);
return result;
On line 296, the code calls pipe, which could be intercepted by sanitizers such as TSAN and make them produce false positives. This can be reproduced by the following example, which mixes UBSan and TSan:
Here in
compiler-rt
sanitizer common code:llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
Lines 291 to 310 in 5861145
On line 296, the code calls
pipe
, which could be intercepted by sanitizers such as TSAN and make them produce false positives. This can be reproduced by the following example, which mixes UBSan and TSan:Should we replace this
pipe
call with something likeinternal_pipe
? I can draft a patch for this if necessary. Or this is not a considered scenario?The text was updated successfully, but these errors were encountered: