bind9/fuzz
Evan Hunt 9e879600c1 standardize CHECK and RETERR macros
previously, there were over 40 separate definitions of CHECK macros, of
which most used "goto cleanup", and the rest "goto failure" or "goto
out". there were another 10 definitions of RETERR, of which most were
identical to CHECK, but some simply returned a result code instead of
jumping to a cleanup label.

this has now been standardized throughout the code base: RETERR is for
returning an error code in the case of an error, and CHECK is for jumping
to a cleanup tag, which is now always called "cleanup". both macros are
defined in isc/util.h.

(cherry picked from commit 25c9fb54da)
(cherry picked from commit 52bba5cc34)
2025-12-03 19:18:12 -08:00
..
dns_master_load.in Add test case for issue-45178 2022-04-01 21:42:35 +11:00
dns_message_checksig.in Add seed to reproduce issue memory leak in dns_message_checktsig 2022-09-26 16:53:06 +02:00
dns_message_parse.in Add packet from issue #4189 2020-09-30 13:24:29 +00:00
dns_name_fromtext_target.in oss-fuzz: Improve interaction with fuzzing tools and add new tests in fuzz/ directory 2018-08-23 10:07:28 +02:00
dns_rdata_fromtext.in Add seed that demonstrated INSIST triggered in isc_lex_gettoken 2022-03-02 01:05:14 +00:00
dns_rdata_fromwire_text.in add svcb fuzzing seed 2021-08-18 13:49:48 +10:00
isc_lex_getmastertoken.in Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
isc_lex_gettoken.in Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
.gitignore Add dns_message_checksig() fuzzer 2022-09-26 16:53:06 +02:00
afl.sh Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dns_master_load.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
dns_message_checksig.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
dns_message_parse.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
dns_name_fromtext_target.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
dns_rdata_fromtext.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
dns_rdata_fromwire_text.c standardize CHECK and RETERR macros 2025-12-03 19:18:12 -08:00
fuzz.h standardize CHECK and RETERR macros 2025-12-03 19:18:12 -08:00
FUZZING.md Fix configure options in FUZZING.md 2022-02-24 11:40:19 +01:00
isc_lex_getmastertoken.c standardize CHECK and RETERR macros 2025-12-03 19:18:12 -08:00
isc_lex_gettoken.c standardize CHECK and RETERR macros 2025-12-03 19:18:12 -08:00
libfuzzer.sh Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
main.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
Makefile.am Add dns_message_checksig() fuzzer 2022-09-26 16:53:06 +02:00