Add unique descriptive log_fatal messages with field names to all decoding_error calls
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-arm32 (push) Waiting to run
Build / build-win (push) Waiting to run
Build / build-freebsd (push) Waiting to run
Build / build-musl (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run

This commit is contained in:
Andrea Mazzoleni 2026-10-01 09:05:01 +02:00
parent 70947d4054
commit 0b930b8a31
4 changed files with 116 additions and 74 deletions

View file

@ -826,7 +826,7 @@ void memhash(unsigned kind, const unsigned char* seed, void* digest, const void*
default :
/* LCOV_EXCL_START */
log_fatal(EINTERNAL, "Internal inconsistency in hash function %u\n", kind);
exit(EXIT_FAILURE);
os_abort();
break;
/* LCOV_EXCL_STOP */
}