This website requires JavaScript.
Explore
Help
Sign in
max
/
nix-super
Watch
1
Star
0
Fork
You've already forked nix-super
0
mirror of
https://github.com/privatevoid-net/nix-super.git
synced
2024-11-22 22:16:16 +02:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
c9a4ddb9c0
nix-super
/
tests
/
lang
/
eval-okay-replacestrings.exp
2 lines
65 B
Text
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. First attempt of this was reverted in e2d71bd1862cdda because it caused another infinite loop, which is fixed now and a test added.
2018-02-19 17:52:33 +02:00
[ "faabar" "fbar" "fubar" "faboor" "fubar" "XaXbXcX" "X" "a_b" ]
Reference in a new issue
Copy permalink