Files
nix/tests
Tuomas Tynkkynen 77a2cd2f5e 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 e2d71bd186 because it caused
another infinite loop, which is fixed now and a test added.

(cherry picked from commit 77e9e1ed91)
2018-04-11 11:47:41 +02:00
..
2017-05-02 15:46:10 +02:00
2014-08-21 21:50:19 +02:00
2018-01-22 17:04:08 +01:00
2016-08-10 18:05:35 +02:00
2018-04-11 11:47:40 +02:00
2018-01-16 19:23:18 +01:00
2018-01-16 19:23:18 +01:00
2014-08-21 21:50:19 +02:00
2018-02-03 10:08:05 +01:00
2014-08-21 21:50:19 +02:00
2016-09-12 13:40:07 +02:00
2014-02-26 18:00:46 +01:00
2006-07-21 13:21:43 +00:00
2017-07-04 15:07:41 +02:00
2018-02-13 08:16:32 -05:00
2014-08-21 21:50:19 +02:00
2018-04-11 11:47:40 +02:00
2017-10-02 23:45:27 -04:00
2018-02-08 13:46:23 +01:00
2018-01-16 19:23:18 +01:00
2018-01-16 19:23:18 +01:00
2016-08-10 18:05:35 +02:00
2018-02-08 13:46:23 +01:00
2016-08-10 18:05:35 +02:00
2018-01-16 19:23:18 +01:00
2017-11-20 18:36:36 +01:00
2016-04-11 16:20:15 +02:00
2017-04-25 18:59:18 +02:00
2017-12-07 01:07:07 +01:00
2007-08-13 13:15:02 +00:00
2016-10-19 15:19:38 +02:00
2016-09-08 18:22:28 +02:00
2012-12-04 14:47:50 +01:00
2012-12-04 14:47:50 +01:00
2018-02-08 15:25:03 +01:00