Scott Seal
3985b80ce5
Fix use-after-free in args2obj() array argument path ( #3498 )
...
Copy `kk` and `vk` before passing to jv_object_get(), which consumes
its arguments. Without copies, subsequent loop iterations read freed
memory (CWE-416) and post-loop jv_free() double-frees (CWE-415).
This bug was introduced in `b279713e` when array processing was hoisted
out of
the loop into locals without accounting for jv_object_get() semantics.
Fixes GHSA-gf4g-95wj-4q4r.
2026-03-09 17:30:08 +09:00
..
2026-03-05 08:28:43 +09:00
2023-08-04 11:47:34 -05:00
2025-09-29 17:15:43 +02:00
2024-12-01 11:49:44 +01:00
2026-02-25 07:49:40 +09:00
2025-05-07 21:25:32 +09:00
2023-10-08 12:32:22 -05:00
2026-03-09 17:30:08 +09:00
2023-07-24 15:44:29 +02:00
2026-03-09 17:30:08 +09:00
2023-11-28 22:50:25 +01:00
2025-05-07 21:25:32 +09:00
2025-03-04 22:33:51 +09:00
2026-03-02 21:58:28 +09:00
2025-06-30 07:27:24 +09:00
2025-05-07 21:25:32 +09:00
2025-05-29 04:11:00 +09:00
2026-03-01 06:15:58 +09:00
2026-02-28 15:45:16 +01:00
2026-02-25 08:14:23 +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
2026-03-01 06:15:58 +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
2026-03-06 15:32:29 +09:00
2025-06-17 15:25:46 +09:00
2026-03-01 06:15:58 +09:00
2023-08-04 11:47:34 -05:00
2026-02-25 08:14:23 +09:00
2023-08-04 11:47:34 -05:00
2026-02-25 08:14:23 +09:00
2025-10-31 15:16:29 +09:00
2024-04-18 01:38:29 +02:00