Skip to content
Commit 43fc4400 authored by Evgeniy Stepanov's avatar Evgeniy Stepanov
Browse files

[msan] Fix gethostbyname_r and similar interceptors.

*h_errno is written not on success, but on failure.
In fact, it seems like it can be written even when return value signals
success, so we just unpoison it in all cases.

llvm-svn: 197383
parent c062b23e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment