1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 10:11:47 +02:00

fromJSON/fromTOML: throw if string contains null byte

This commit is contained in:
Philipp Otterbein 2024-12-07 20:46:11 +01:00
parent ab5a9cf2db
commit 3a9d64b8e3
12 changed files with 60 additions and 3 deletions

View file

@ -0,0 +1 @@
builtins.fromJSON ''"a\u0000b"''