We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64f878d commit 3a98f4dCopy full SHA for 3a98f4d
compiler-rt/lib/msan/tests/msan_test.cpp
@@ -1114,6 +1114,7 @@ TEST_P(MemorySanitizerIpTest, recvmsg) {
1114
} while (0)
1115
1116
TEST(MemorySanitizer, gethostent) {
1117
+ sethostent(0);
1118
struct hostent *he = gethostent();
1119
ASSERT_NE((void *)NULL, he);
1120
EXPECT_HOSTENT_NOT_POISONED(he);
@@ -1177,6 +1178,7 @@ TEST(MemorySanitizer, gethostbyaddr) {
1177
1178
1179
#if !defined(__NetBSD__)
1180
TEST(MemorySanitizer, gethostent_r) {
1181
1182
char buf[2000];
1183
struct hostent he;
1184
struct hostent *result;
0 commit comments