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

correctly parse strings with null bytes and throw error

This commit is contained in:
Philipp Otterbein 2025-01-04 16:14:06 +01:00
parent 442a2623e4
commit a44e9dd1ea
7 changed files with 22 additions and 13 deletions

View file

@ -510,6 +510,6 @@ typedef std::shared_ptr<Value *> RootValue;
RootValue allocRootValue(Value * v);
void forceNoNullByte(std::string_view s);
void forceNoNullByte(std::string_view s, std::function<Pos()> = nullptr);
}