Marian Buschsieweke
eefed0e0cd
sys/malloc_thread_safety: fix overflow in calloc
...
some standard c libraries (e.g. newlib before 4.0.0) don't perform
proper overflow check in the multiplication. We just implement calloc
here ourselves on top of malloc with proper overflow check in place.
This might even safe a handful of ROM bytes.
2021-05-06 13:04:01 +02:00
..
2021-02-22 14:54:14 +01:00
2021-02-22 14:54:14 +01:00
2021-02-02 09:45:46 +01:00
2021-04-28 11:19:24 +02:00
2021-02-22 14:54:14 +01:00
2020-11-06 15:57:55 +01:00
2021-02-22 14:54:14 +01:00
2021-02-22 14:54:14 +01:00
2020-11-12 22:50:53 +01:00
2020-11-02 21:49:39 +01:00
2021-02-22 14:54:14 +01:00
2020-11-27 09:20:05 +01:00
2021-03-05 16:47:53 +01:00
2020-11-18 18:38:44 +01:00
2021-05-04 11:06:35 +02:00
2020-08-24 20:28:11 +02:00
2021-05-03 17:34:53 +02:00
2020-07-23 20:24:47 +02:00
2020-11-06 15:57:52 +01:00
2020-11-02 21:49:39 +01:00
2021-02-22 14:54:14 +01:00
2020-12-02 10:14:43 +01:00
2021-01-08 10:15:33 +01:00
2021-03-31 10:11:29 +02:00
2020-10-23 11:27:48 +02:00
2021-01-21 10:03:44 +01:00
2021-01-18 14:14:13 +01:00
2021-03-24 11:57:44 +01:00
2020-10-22 11:13:09 +02:00
2021-05-03 17:34:49 +02:00
2021-05-05 09:19:12 +02:00
2021-01-21 11:22:32 +01:00
2020-11-18 18:38:48 +01:00
2020-08-24 08:26:16 -07:00
2021-01-26 17:40:30 +01:00
2021-05-06 13:04:01 +02:00
2021-02-22 14:54:14 +01:00
2021-02-22 14:54:14 +01:00
2021-02-22 14:54:14 +01:00
2021-05-05 17:48:24 +02:00
2020-09-04 15:01:10 +02:00
2021-01-11 14:35:40 +01:00
2021-02-22 14:54:15 +01:00
2020-11-25 12:00:13 +01:00
2020-09-11 18:04:01 +02:00
2020-09-11 11:19:58 +02:00
2021-03-15 21:17:17 +01:00
2021-03-09 09:15:59 +01:00
2021-04-07 12:05:00 +02:00
2021-01-18 11:14:23 +01:00
2021-05-03 17:34:53 +02:00
2021-03-08 10:22:04 +01:00
2021-01-21 11:22:30 +01:00
2021-01-18 11:14:23 +01:00
2021-04-12 13:08:39 +02:00
2021-01-17 00:17:58 +01:00
2021-02-22 14:54:15 +01:00
2021-04-20 17:04:27 +02:00
2021-01-27 17:52:19 +01:00
2021-02-23 18:27:54 +01:00
2021-03-15 10:36:46 +01:00
2021-02-22 14:54:15 +01:00
2020-10-23 11:27:48 +02:00
2020-11-06 15:57:53 +01:00
2020-10-23 11:27:48 +02:00
2021-02-22 14:54:53 +01:00
2021-02-22 14:56:37 +01:00
2020-11-23 16:56:34 +01:00
2021-04-22 16:31:36 +02:00
2021-04-22 11:06:04 +02:00
2021-04-07 12:05:00 +02:00
2020-08-31 09:57:28 +02:00
2021-01-21 11:22:31 +01:00
2021-03-12 16:20:33 +01:00
2021-05-03 17:34:49 +02:00
2021-03-12 16:20:33 +01:00