diff options
author | Dima <dgoldin+github@protonmail.ch> | 2019-12-13 14:44:14 +0100 |
---|---|---|
committer | Dima <dgoldin+github@protonmail.ch> | 2019-12-13 14:51:30 +0100 |
commit | d89d9958a771fb6299eae084c1b52d0ecf95901b (patch) | |
tree | 31babc5f12da18325771f0283b7f4264220f9e37 /README.md | |
parent | 3e787423c22c34d65fd6fe0cdf2e6ec333d81c0b (diff) |
bugfix: Adding depth limit to resolveExprPath
There is no termination condition for evaluation of cyclical
expression paths which can lead to infinite loops. This addresses
one spot in the parser in a similar fashion as utils.cc/canonPath
does.
This issue can be reproduced by something like:
```
ln -s a b
ln -s b a
nix-instantiate -E 'import ./a'
```
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions