itchyny
a8ce2ff09a
Avoid zero-length calloc ( #3280 )
...
Using `calloc` function with a count of zero elements is implementation
defined and it may cause allocation errors on some platforms (ref #3277 ).
This commit fixes `jv_mem_calloc` callers to avoid undefined behavior.
2025-03-04 22:33:51 +09:00
..
2025-03-04 22:33:51 +09:00
2023-08-04 11:47:34 -05:00
2025-03-04 19:59:41 +09:00
2015-08-23 20:36:11 -07:00
2024-12-01 11:49:44 +01:00
2025-03-04 22:33:51 +09:00
2023-08-04 11:47:34 -05:00
2023-10-08 12:32:22 -05:00
2024-12-01 11:49:44 +01:00
2023-07-24 15:44:29 +02:00
2015-08-23 20:36:11 -07:00
2024-06-05 13:19:08 +09:00
2023-11-28 22:50:25 +01:00
2025-03-04 22:33:51 +09:00
2025-03-04 22:33:51 +09:00
2025-03-04 22:33:51 +09:00
2023-08-10 18:53:50 +02:00
2019-10-22 14:11:04 -04:00
2024-02-08 19:27:48 +01:00
2015-08-23 20:36:11 -07:00
2018-05-11 19:32:25 -05:00
2025-02-18 07:52:58 +09:00
2025-02-16 21:40:18 +09:00
2023-08-13 14:16:02 +02:00
2023-07-10 08:05:25 +09:00
2024-03-20 11:04:17 +01:00
2024-03-20 11:04:17 +01:00
2015-08-23 20:36:11 -07:00
2025-03-04 22:13:55 +09:00
2025-03-04 22:13:55 +09:00
2025-03-04 22:11:40 +09:00
2025-03-04 22:11:40 +09:00
2025-03-04 22:11:40 +09:00
2024-03-20 18:23:08 +09:00
2024-08-24 08:44:08 +09:00
2015-08-23 20:36:11 -07:00
2023-12-11 20:47:32 +01:00
2015-08-23 20:36:11 -07:00
2025-02-01 11:54:32 +09:00
2023-08-04 11:47:34 -05:00
2023-08-04 11:47:34 -05:00
2023-08-04 11:47:34 -05:00
2023-08-04 11:47:34 -05:00
2024-04-29 21:03:46 +02:00
2024-04-18 01:38:29 +02:00