bind9/lib/isc/include
Ondřej Surý ce03015d48 Remove nonnull attribute from isc_mem_{get,allocate,reallocate}
The isc_mem_get(), isc_mem_allocate() and isc_mem_reallocate() can
return NULL ptr in case where the allocation size is NULL.  Remove the
nonnull attribute from the functions' declarations.

This stems from the following definition in the C11 standard:

> If the size of the space requested is zero, the behavior is
> implementation-defined: either a null pointer is returned, or the
> behavior is as if the size were some nonzero value, except that the
> returned pointer shall not be used to access an object.

In this case, we return NULL as it's easier to detect errors when
accessing pointer from zero-sized allocation which should obviously
never happen.
2021-07-12 10:02:18 +02:00
..
isc Remove nonnull attribute from isc_mem_{get,allocate,reallocate} 2021-07-12 10:02:18 +02:00
pk11 Remove LIB<*>_EXTERNAL_DATA defines 2021-07-06 05:33:48 +00:00
pkcs11 Remove files generated by autotools 2020-04-21 14:19:30 +02:00
.clang-format Add separate .clang-format files for headers 2020-02-14 09:31:05 +01:00