From: Alan T. DeKok Date: Sun, 14 Dec 2025 13:14:23 +0000 (-0500) Subject: disable encoder tests again X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b83fd08de19047090ecd78ee8f2205b53b7994c0;p=thirdparty%2Ffreeradius-server.git disable encoder tests again they're still showing random failures in CI. It's difficult to track down the issues when CI stubbornly refuses to show useful stack traces, and we can't reproduce the issues locally. --- diff --git a/src/bin/fuzzer.c b/src/bin/fuzzer.c index 7aa62085b17..f9410473927 100644 --- a/src/bin/fuzzer.c +++ b/src/bin/fuzzer.c @@ -43,6 +43,7 @@ static dl_t *dl = NULL; static dl_loader_t *dl_loader; static fr_dict_protocol_t *dl_proto; static TALLOC_CTX *autofree = NULL; +static bool do_encode = false; static fr_dict_t *dict = NULL; @@ -291,7 +292,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *buf, size_t len) if (fr_debug_lvl > 3) fr_pair_list_debug(stderr, &vps); - (void) tp_encode->func(ctx, &vps, encoded_data, sizeof(encoded_data), encode_ctx); + if (do_encode) (void) tp_encode->func(ctx, &vps, encoded_data, sizeof(encoded_data), encode_ctx); } talloc_free(decode_ctx);