0
0
Fork 0
forked from lix-project/lix
lix/tests/lang/eval-okay-getattrpos-undefined.nix
Tuomas Tynkkynen af86132e1a libexpr: Make unsafeGetAttrPos not crash on noPos
Currently e.g. `builtins.unsafeGetAttrPos "abort" builtins` will
eventually segfault because pos->file is an unset Symbol.

Found by afl-fuzz.
2018-04-03 15:54:42 +03:00

2 lines
43 B
Nix

builtins.unsafeGetAttrPos "abort" builtins