From 927e8f82b74c68db66a3b18da8dbfe1576fd821b Mon Sep 17 00:00:00 2001 From: FuzzTest Team Date: Mon, 21 Sep 2026 06:42:29 -0700 Subject: [PATCH] No public description PiperOrigin-RevId: 985243910 --- fuzztest/internal/domains/protobuf_domain_impl.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fuzztest/internal/domains/protobuf_domain_impl.h b/fuzztest/internal/domains/protobuf_domain_impl.h index c3e3ca502..a5ee60267 100644 --- a/fuzztest/internal/domains/protobuf_domain_impl.h +++ b/fuzztest/internal/domains/protobuf_domain_impl.h @@ -1218,7 +1218,9 @@ class ProtobufDomainUntypedImpl auto v = self.GetValue(corpus_copy); // We need to roundtrip through serialization to really dedup. The // reflection API alone doesn't cut it. - v->ParsePartialFromString(v->SerializePartialAsString()); + // TODO(b/564069870): Replace with FUZZTEST_CHECK when possible. + static_cast( + v->ParsePartialFromString(v->SerializePartialAsString())); if (v->GetReflection()->FieldSize(*v, field) == domain.GetValue(copy).size()) { // The number of entries is the same, so accept the change.