This website requires JavaScript.
Explore
Help
Sign In
fabianhjr
/
lix
Watch
0
Star
0
Fork
You've already forked lix
0
forked from
lix-project/lix
Code
Pull requests
Activity
4ea9707591
lix
/
tests
/
lang
/
eval-okay-replacestrings.exp
2 lines
59 B
Plaintext
Raw
Normal View
History
Unescape
Escape
libexpr: Fix prim_replaceStrings() to work on an empty source string Otherwise, running e.g. nix-instantiate --eval -E --strict 'builtins.replaceStrings [""] ["X"] "abc"' would just hang in an infinite loop. Found by afl-fuzz.
2018-02-19 15:52:33 +00:00
[ "faabar" "fbar" "fubar" "faboor" "fubar" "XaXbXcX" "X" ]
Copy permalink