lix/src/libexpr
Tuomas Tynkkynen f0fc3dd88b Fix SIGFPE from integer overflow during division
On some architectures (like x86_64 or i686, but not ARM for example)
overflow during integer division causes a crash due to SIGFPE.
Reproduces on a 64-bit system with:

    nix-instantiate --eval -E '(-9223372036854775807 - 1) / -1'

The only way this can happen is when the smallest possible integer is
divided by -1, so just special-case that.
2016-10-26 18:41:59 +03:00
..
primops
attr-path.cc
attr-path.hh
attr-set.cc
attr-set.hh
common-opts.cc Enable HTTP/2 support 2016-09-14 16:36:02 +02:00
common-opts.hh
eval-inline.hh
eval.cc forceBool(): Show position info 2016-08-29 19:37:19 +02:00
eval.hh Fix GC build 2016-08-30 13:12:12 +02:00
get-drvs.cc forceBool(): Show position info 2016-08-29 19:37:19 +02:00
get-drvs.hh
json-to-value.cc
json-to-value.hh
lexer.l
local.mk
names.cc replace own regex class with std::regex 2016-10-18 20:22:25 +02:00
names.hh replace own regex class with std::regex 2016-10-18 20:22:25 +02:00
nix-expr.pc.in
nixexpr.cc
nixexpr.hh
parser.y printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
primops.cc Fix SIGFPE from integer overflow during division 2016-10-26 18:41:59 +03:00
primops.hh
symbol-table.hh
value-to-json.cc
value-to-json.hh
value-to-xml.cc
value-to-xml.hh
value.hh Fix GC build 2016-08-30 13:12:12 +02:00