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
..
2021-07-06 05:33:48 +00:00
2021-06-09 14:35:14 +02:00
2021-04-19 13:18:24 +02:00
2021-07-06 05:33:48 +00:00
2020-09-14 16:20:40 -07:00
2021-06-17 09:51:04 +02:00
2021-06-09 14:35:14 +02:00
2021-05-03 20:31:52 +02:00
2021-06-09 14:35:14 +02:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-07-06 05:33:48 +00:00
2020-09-14 16:20:40 -07:00
2020-10-01 08:21:42 +00:00
2021-07-06 05:33:48 +00:00
2021-06-09 14:35:14 +02:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-07-06 05:33:48 +00:00
2021-06-09 14:35:14 +02:00
2020-09-14 16:20:40 -07:00
2021-07-06 05:33:48 +00:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-07-06 05:33:48 +00:00
2021-05-07 10:19:05 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-07-06 05:33:48 +00:00
2020-09-14 16:20:40 -07:00
2021-05-07 10:19:05 -07:00
2021-07-06 05:33:48 +00:00
2021-07-12 10:02:18 +02:00
2020-09-14 16:20:40 -07:00
2021-06-09 14:35:14 +02:00
2020-09-14 16:20:40 -07:00
2021-07-06 05:33:48 +00:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-07-09 16:37:08 +03:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-06-09 14:35:14 +02:00
2021-07-06 05:33:48 +00:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-07-06 05:33:48 +00:00
2020-09-14 16:20:40 -07:00
2020-12-01 16:47:07 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-07-06 05:33:48 +00:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-05-17 11:59:19 +02:00
2020-09-14 16:20:40 -07:00
2021-07-06 05:33:48 +00:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-07-06 05:33:48 +00:00
2021-06-09 14:35:14 +02:00
2021-05-07 10:19:05 -07:00
2021-06-09 14:35:14 +02:00
2020-09-14 16:20:40 -07:00
2021-06-17 09:51:04 +02:00
2020-09-14 16:20:40 -07:00
2021-06-09 14:35:14 +02:00
2021-07-06 05:33:48 +00:00
2021-07-06 05:33:48 +00:00
2020-09-14 16:20:40 -07:00
2021-06-09 14:35:14 +02:00
2021-05-31 14:52:05 +02:00
2021-04-20 23:22:28 +02:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-05-07 10:19:05 -07:00
2021-03-05 13:29:26 +02:00
2020-09-14 16:20:40 -07:00
2021-06-09 14:35:14 +02:00
2021-02-03 12:06:17 +01:00
2020-09-14 16:20:40 -07:00
2021-06-09 14:35:14 +02:00