lix/src
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
..
boost Force stack trace for boost format errors 2016-03-02 15:46:07 +01:00
buildenv Fix Fedora build 2016-08-30 13:56:22 +02:00
download-via-ssh printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
libexpr Fix SIGFPE from integer overflow during division 2016-10-26 18:41:59 +03:00
libmain Shut up some warnings 2016-10-12 15:53:38 +02:00
libstore Fix build log output in nix-store --serve 2016-10-26 17:13:38 +02:00
libutil Merge branch 'regex' of https://github.com/groxxda/nix 2016-10-19 16:32:24 +02:00
nix printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
nix-build Fix Darwin build 2016-10-19 15:21:18 +02:00
nix-channel Enable HTTP/2 support 2016-09-14 16:36:02 +02:00
nix-collect-garbage printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
nix-daemon Remove addPathToAccessor 2016-10-21 18:09:30 +02:00
nix-env printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
nix-instantiate Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00
nix-prefetch-url printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
nix-store printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
resolve-system-dependencies printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00