bind9/fuzz
Evan Hunt 10accd6260 clean up uses of ISC_R_NOMEMORY
the isc_mem allocation functions can no longer fail; as a result,
ISC_R_NOMEMORY is now rarely used: only when an external library
such as libjson-c or libfstrm could return NULL. (even in
these cases, arguably we should assert rather than returning
ISC_R_NOMEMORY.)

code and comments that mentioned ISC_R_NOMEMORY have been
cleaned up, and the following functions have been changed to
type void, since (in most cases) the only value they could
return was ISC_R_SUCCESS:

- dns_dns64_create()
- dns_dyndb_create()
- dns_ipkeylist_resize()
- dns_kasp_create()
- dns_kasp_key_create()
- dns_keystore_create()
- dns_order_create()
- dns_order_add()
- dns_peerlist_new()
- dns_tkeyctx_create()
- dns_view_create()
- dns_zone_setorigin()
- dns_zone_setfile()
- dns_zone_setstream()
- dns_zone_getdbtype()
- dns_zone_setjournal()
- dns_zone_setkeydirectory()
- isc_lex_openstream()
- isc_portset_create()
- isc_symtab_create()

(the exception is dns_view_create(), which could have returned
other error codes in the event of a crypto library failure when
calling isc_file_sanitize(), but that should be a RUNTIME_CHECK
anyway.)
2025-01-23 15:54:57 -08:00
..
dns_master_load.in
dns_message_checksig.in
dns_message_parse.in
dns_name_fromtext_target.in
dns_name_fromwire.in
dns_qp.in
dns_qpkey_name.in
dns_rdata_fromtext.in
dns_rdata_fromwire_text.in
isc_lex_getmastertoken.in remove "sortlist" 2024-12-11 15:09:24 -08:00
isc_lex_gettoken.in remove "sortlist" 2024-12-11 15:09:24 -08:00
.gitignore
afl.sh
dns_master_load.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
dns_message_checksig.c clean up uses of ISC_R_NOMEMORY 2025-01-23 15:54:57 -08:00
dns_message_parse.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
dns_name_fromtext_target.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
dns_name_fromwire.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
dns_qp.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
dns_qpkey_name.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
dns_rdata_fromtext.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
dns_rdata_fromwire_text.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
fuzz.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
FUZZING.md
isc_lex_getmastertoken.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
isc_lex_gettoken.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
libfuzzer.sh
main.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
Makefile.am Get the tests working with liburcu 2023-05-12 20:48:31 +01:00
old.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
old.h