1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-24 11:19:35 +01:00
nix/tests
Robert Hensing 59a566db13 libexpr: fix stack overflow in deepSeq on deeply nested structures
builtins.deepSeq on deeply nested structures (e.g., a linked list with
100,000 elements) caused an uncontrolled OS-level stack overflow with
no Nix stack trace.

Fix by adding call depth tracking to forceValueDeep, integrating with
Nix's existing max-call-depth mechanism. Now produces a controlled
"stack overflow; max-call-depth exceeded" error with a proper stack
trace.

Closes: https://github.com/NixOS/nix/issues/7816
2025-11-21 23:50:47 +01:00
..
functional libexpr: fix stack overflow in deepSeq on deeply nested structures 2025-11-21 23:50:47 +01:00
installer Format .nix files 2025-01-24 17:04:02 +01:00
nixos tests: fix fetchers-substitute test for new narHash JSON format 2025-11-18 16:36:27 +00:00
repl-completion.nix Format .nix files 2025-01-24 17:04:02 +01:00