Janos Follath
91dc67d31c
Allow (NULL, 0) as a representation of 0
...
- We don't check for NULL pointers this deep in the library
- Accessing a NULL pointer when the limb number is 0 as a mistake is the
very similar to any other out of bounds access
- We could potentially mandate at least 1 limb representation for 0 but
we either would need to enforce it or the implementation would be less
robust.
- Allowing zero limb representation - (NULL, 0) in particular - for zero
is present in the legacy interface, if we disallow it, the
compatibility code will need to deal with this (more code size and
opportunities for mistakes)
In summary, interpreting (NULL, 0) as the number zero in the core
interface is the least of the two evils.
Signed-off-by: Janos Follath <janos.follath@arm.com>
2022-08-05 17:08:52 +01:00
..
2021-12-18 13:29:10 +05:30
2022-06-29 16:17:50 +01:00
2022-06-29 16:17:50 +01:00
2022-06-10 20:13:33 +02:00
2021-11-26 17:20:02 +01:00
2022-08-05 17:08:52 +01:00
2022-04-11 13:44:15 +01:00
2022-08-05 17:03:56 +01:00
2022-08-05 17:03:56 +01:00
2022-08-05 17:08:52 +01:00
2022-08-05 17:08:52 +01:00
2022-07-29 17:08:11 +01:00
2022-05-18 14:15:33 -04:00
2022-01-03 12:53:24 +01:00
2022-05-06 10:55:10 +02:00
2022-08-05 17:03:56 +01:00
2022-05-19 18:23:24 +01:00
2021-11-26 17:25:14 +01:00
2022-06-01 11:42:51 +02:00
2022-07-04 10:12:22 +01:00
2022-06-30 17:03:40 +02:00
2022-07-27 14:43:38 +01:00
2022-07-27 14:28:20 +01:00
2022-07-27 15:20:08 +01:00
2022-05-06 18:43:58 +02:00
2022-07-28 10:31:16 +01:00
2022-06-30 17:03:40 +02:00
2022-06-30 17:03:40 +02:00
2022-05-13 18:08:11 +01:00
2022-07-26 10:20:52 +02:00
2022-07-26 10:20:52 +02:00
2022-06-30 17:03:40 +02:00
2022-07-27 20:44:02 +02:00
2022-08-05 17:03:56 +01:00
2022-06-30 17:03:40 +02:00
2022-05-11 21:25:51 +01:00
2022-05-18 14:15:33 -04:00
2021-12-10 13:47:55 +01:00
2021-12-10 13:47:55 +01:00
2022-03-04 05:07:45 -05:00
2022-07-21 12:11:53 +02:00
2022-07-05 11:55:15 +01:00
2022-07-29 12:59:05 +01:00
2022-05-04 11:02:37 +02:00
2022-07-18 21:28:38 +02:00
2022-05-13 18:08:11 +01:00
2022-07-11 10:22:37 +02:00
2022-04-07 15:01:24 +02:00
2022-03-01 10:03:21 +01:00
2022-05-12 09:45:03 +01:00
2022-07-01 16:43:25 +01:00
2021-12-09 14:49:42 +01:00
2022-05-11 21:25:51 +01:00
2022-08-02 12:44:35 +02:00
2021-12-14 10:58:18 +01:00
2022-03-10 20:07:38 +01:00
2022-07-18 21:28:38 +02:00
2021-12-06 07:50:27 +01:00
2022-07-18 21:28:38 +02:00
2022-07-18 21:28:38 +02:00
2021-12-06 07:50:27 +01:00
2021-12-06 07:50:27 +01:00
2022-07-18 21:28:38 +02:00
2022-01-10 12:55:06 +01:00
2022-02-25 11:14:59 +01:00
2022-06-20 15:27:46 +02:00
2022-06-30 17:03:40 +02:00
2022-07-18 21:28:38 +02:00
2022-04-19 13:52:24 +01:00
2022-04-19 13:52:24 +01:00
2022-07-11 10:22:37 +02:00
2022-07-18 21:28:38 +02:00
2022-07-21 15:30:04 +02:00
2022-06-20 21:12:55 +02:00
2022-07-18 21:28:38 +02:00
2022-05-09 15:49:00 +08:00
2022-07-28 10:43:38 +02:00
2022-07-20 11:07:29 +08:00
2022-06-20 21:12:52 +02:00
2022-07-29 12:59:05 +01:00
2022-07-26 16:13:03 +01:00
2022-07-26 16:13:23 +01:00
2022-07-28 10:43:38 +02:00
2022-07-11 10:22:37 +02:00
2022-07-28 10:43:38 +02:00
2022-06-20 21:12:55 +02:00
2022-07-26 16:13:23 +01:00
2022-07-28 10:28:23 +01:00
2022-03-29 17:43:56 +02:00
2022-04-08 04:41:42 -04:00
2022-03-04 05:07:45 -05:00
2022-08-03 13:05:29 +02:00
2022-06-29 10:18:41 +02:00
2022-07-18 21:28:38 +02:00
2022-07-18 21:28:38 +02:00