Branch: refs/heads/master
Home: https://github.com/NixOS/nix
Commit: f0fc3dd88b05866c4f6343d3c64ae1a4de4b8c9c
https://github.com/NixOS/nix/commit/f0fc3dd88b05866c4f6343d3c64ae1a4de4b8c9c
Author: Tuomas Tynkkynen <[email protected]>
Date: 2016-10-26 (Wed, 26 Oct 2016)
Changed paths:
M src/libexpr/primops.cc
Log Message:
-----------
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.
Commit: e02a1352c105caf0014ca3669ed379f2e7916038
https://github.com/NixOS/nix/commit/e02a1352c105caf0014ca3669ed379f2e7916038
Author: Eelco Dolstra <[email protected]>
Date: 2016-10-26 (Wed, 26 Oct 2016)
Changed paths:
M src/libexpr/primops.cc
Log Message:
-----------
Merge pull request #1108 from dezgeg/fix-sigfpe
Fix SIGFPE from integer overflow during division
Compare: https://github.com/NixOS/nix/compare/5c0bd51d49a5...e02a1352c105_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits