bind9/lib/dns/include
Evan Hunt bbaade23eb mem_maybedup() can no longer fail
mem_maybedup() calls isc_mem_allocate() if an mctx is supplied,
but that can no longer fail, so now the only way mem_maybedup()
could return NULL is if it was given a NULL source address by the
caller. this commit adds a REQUIRE to prevent that scenario, and
cleans up all the calling code that previously checked for NULL
return values.

this function is mostly used in rdata tostruct() implementations, so
the documentation for dns_rdata_tostruct() has been updated to
remove 'ISC_R_NOMEMORY' as a possible return value.
2022-02-25 20:57:08 -08:00
..
dns mem_maybedup() can no longer fail 2022-02-25 20:57:08 -08:00
dst Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
.clang-format Add separate .clang-format files for headers 2020-02-14 09:31:05 +01:00