mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
fromJSON/fromTOML: throw if string contains null byte
This commit is contained in:
parent
ab5a9cf2db
commit
3a9d64b8e3
12 changed files with 60 additions and 3 deletions
|
@ -510,4 +510,6 @@ typedef std::shared_ptr<Value *> RootValue;
|
|||
|
||||
RootValue allocRootValue(Value * v);
|
||||
|
||||
void forceNoNullByte(std::string_view s);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue