Yukihiro "Matz" Matsumoto
8fd02f28a3
bigint.c: fix uninitialized embedded array in bint_new
...
When creating a bigint with embedded storage, the array wasn't being
initialized when x->p was NULL but x->sz > 0. This could leave garbage
memory in the embedded array, which VS 2022 might interpret differently
than VS 2019, causing test failures.
This fix ensures the embedded array is always properly initialized with
zeros when x->p is NULL, preventing potential undefined behavior.
Co-authored-by: Claude <noreply@anthropic.com >
2025-08-21 21:48:21 +09:00
..
2025-08-19 10:06:17 +09:00
2025-08-21 21:48:21 +09:00
2024-06-09 22:49:46 +09:00
2025-07-05 16:49:26 +09:00
2025-05-19 08:00:36 +09:00
2025-06-24 04:02:41 +00:00
2025-05-19 08:00:36 +09:00
2025-05-14 01:14:02 +10:00
2025-07-17 12:51:35 +09:00
2025-08-14 10:52:47 +09:00
2025-07-05 18:32:46 +09:00
2025-08-14 10:52:49 +09:00
2025-08-14 10:52:49 +09:00
2025-08-21 07:23:14 +09:00
2025-08-16 12:03:12 +09:00
2025-08-14 10:52:49 +09:00
2025-08-19 10:06:16 +09:00
2025-07-15 11:54:12 +09:00
2025-08-14 10:52:45 +09:00
2025-08-14 10:52:49 +09:00
2025-08-14 10:52:46 +09:00
2025-08-14 10:52:49 +09:00
2025-08-14 10:52:46 +09:00
2025-08-14 10:52:47 +09:00
2025-07-29 01:27:49 +10:00
2025-08-14 10:52:49 +09:00
2025-08-14 10:53:09 +09:00
2025-08-14 10:52:49 +09:00
2025-08-21 10:17:12 +09:00
2025-08-14 10:52:49 +09:00
2025-08-14 10:52:49 +09:00
2025-08-14 10:53:03 +09:00
2025-08-14 10:52:46 +09:00
2025-08-14 10:53:12 +09:00
2025-08-14 10:52:49 +09:00
2025-08-14 10:52:49 +09:00
2025-06-24 13:56:07 +09:00
2025-08-19 10:06:19 +09:00
2025-07-17 12:53:58 +09:00
2025-08-14 10:52:49 +09:00
2025-08-14 10:53:10 +09:00
2025-08-14 10:52:49 +09:00
2025-08-14 10:52:45 +09:00
2025-08-19 11:11:26 +02:00
2025-08-14 10:52:47 +09:00
2025-08-15 11:38:51 +09:00
2025-08-19 10:06:19 +09:00
2025-08-14 10:52:54 +09:00
2025-08-14 10:52:49 +09:00
2025-08-14 10:52:49 +09:00
2025-05-10 08:59:18 +09:00
2024-09-24 00:14:24 +10:00
2025-08-14 10:53:08 +09:00
2025-08-14 10:52:47 +09:00
2021-01-06 18:10:21 +09:00
2021-01-06 18:10:21 +09:00
2023-04-04 19:31:42 +10:00
2025-01-14 13:30:33 +09:00
2025-05-14 15:58:23 +09:00
2025-05-14 15:58:24 +09:00
2022-11-29 15:58:05 +09:00
2025-01-06 13:57:23 +09:00
2025-05-19 08:00:36 +09:00