bind9/lib
Ondřej Surý 798333d456 Allow size == 0 in isc_mem_{get,allocate,reallocate}
Calls to jemalloc extended API with size == 0 ends up in undefined
behaviour.  This commit makes the isc_mem_get() and friends calls
more POSIX aligned:

  If size is 0, either a null pointer or a unique pointer that can be
  successfully passed to free() shall be returned.

We picked the easier route (which have been already supported in the old
code) and return NULL on calls to the API where size == 0.
2021-07-09 15:58:02 +02:00
..
bind9 Make the DNS over HTTPS support optional 2021-07-07 09:50:53 +02:00
dns Remove error checks in dns_message for mem allocations 2021-07-09 15:58:02 +02:00
irs Move the include Makefile.tests to the bottom of Makefile.am(s) 2021-06-24 15:33:52 +02:00
isc Allow size == 0 in isc_mem_{get,allocate,reallocate} 2021-07-09 15:58:02 +02:00
isccc Move the include Makefile.tests to the bottom of Makefile.am(s) 2021-06-24 15:33:52 +02:00
isccfg Make the DNS over HTTPS support optional 2021-07-07 09:50:53 +02:00
ns Return HTTP status code for small/malformed requests 2021-07-09 16:37:08 +03:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
Makefile.am move samples/resolve.c to bin/tests/system 2021-04-16 14:29:43 +02:00
unit-test-driver.sh.in Enforce a run time limit on unit test binaries 2021-04-07 11:41:45 +02:00