diff --git a/src/setup_payload/tests/FuzzBase38Decode.cpp b/src/setup_payload/tests/FuzzBase38Decode.cpp index 11d29c2151c8e6..317473370230c7 100644 --- a/src/setup_payload/tests/FuzzBase38Decode.cpp +++ b/src/setup_payload/tests/FuzzBase38Decode.cpp @@ -16,6 +16,8 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t * data, size_t len) std::string base38EncodedString(reinterpret_cast(data), len); std::vector decodedData; + // Ignoring return value, because in general the data is garbage and won't decode properly. + // We're just testing that the decoder does not crash on the fuzzer-generated inputs. chip::base38Decode(base38EncodedString, decodedData); return 0;