diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2018-04-03 15:27:17 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2018-04-03 15:54:42 +0300 |
commit | af86132e1afa65b4b466af3ea9c7084836c91ee0 (patch) | |
tree | 981540a89d072525f59bfaea389bb8950859e267 /src/libexpr/nixexpr.hh | |
parent | 3fbaa230a23ef47100eb1f117008a1cee85fcf5e (diff) |
libexpr: Make unsafeGetAttrPos not crash on noPos
Currently e.g. `builtins.unsafeGetAttrPos "abort" builtins` will
eventually segfault because pos->file is an unset Symbol.
Found by afl-fuzz.
Diffstat (limited to 'src/libexpr/nixexpr.hh')
0 files changed, 0 insertions, 0 deletions