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-12 10:02:18 +02:00
2021-07-09 18:19:57 +02:00
2021-07-12 03:47:11 +00:00
2021-07-06 05:33:48 +00: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-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
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
2020-09-14 16:20:40 -07: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
2021-06-09 14:35:14 +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-09-14 16:20:40 -07:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +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
2021-05-07 10:19:05 -07:00
2020-09-14 16:20:40 -07:00
2021-05-26 09:43:12 +02:00
2021-06-09 14:35:14 +02:00
2020-09-14 16:20:40 -07:00
2021-07-12 08:43:14 +02:00
2020-09-14 16:20:40 -07:00
2021-05-27 08:02:21 +02:00
2021-07-06 05:33:48 +00:00
2021-07-09 15:58:02 +02:00
2021-05-07 14:28:30 -07:00
2020-09-14 16:20:40 -07:00
2021-02-18 19:33:54 +01:00
2021-07-09 15:58:02 +02:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2020-09-14 16:20:40 -07:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-05-07 14:28:30 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-01-25 09:19:22 +01:00
2021-01-25 09:19:22 +01:00
2021-06-09 14:35:14 +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
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-12-01 16:47:07 +01: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-08 18:36:23 +01:00
2020-12-08 18:36:23 +01:00
2021-07-06 05:33:48 +00:00
2021-05-17 11:59:19 +02:00
2021-07-12 13:26:29 +10: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-06-09 14:35:14 +02: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
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2020-09-14 16:20:40 -07:00
2021-06-09 14:35:14 +02:00
2021-05-07 14:28:30 -07:00
2021-07-06 05:33:48 +00:00
2021-04-20 23:22:28 +02:00
2021-06-09 14:35:14 +02:00
2021-07-06 05:33:48 +00:00
2021-05-07 10:19:05 -07:00
2021-07-06 05:33:48 +00:00
2021-02-18 19:33:54 +01:00
2021-07-09 15:58:02 +02:00
2021-05-05 19:15:33 +02:00
2021-06-09 14:35:14 +02:00
2021-07-09 15:58:02 +02:00
2021-03-15 14:18:03 +11:00
2020-09-14 16:20:40 -07:00