Index: test/dfsan/custom.cc =================================================================== --- test/dfsan/custom.cc +++ test/dfsan/custom.cc @@ -424,9 +424,9 @@ void test_gethostname() { char buf[1024]; - dfsan_set_label(i_label, buf + 2, 2); + dfsan_set_label(i_label, buf + 1, 1); assert(gethostname(buf, sizeof(buf)) == 0); - ASSERT_READ_ZERO_LABEL(buf + 2, 2); + ASSERT_READ_ZERO_LABEL(buf + 1, 1); } void test_getrlimit() {