mirror of
https://github.com/sheumann/hush.git
synced 2024-12-11 00:52:18 +00:00
Merge commit 'f5add44981b43490376ea0dfed1420dba09a3a75'
This commit is contained in:
commit
d958c364f9
@ -423,7 +423,7 @@ arith_apply(arith_state_t *math_state, operator op, var_or_num_t *numstack, var_
|
||||
* MAX_NEGATIVE_INT / -1 = MAX_POSITIVE_INT+1
|
||||
* and thus is not representable.
|
||||
* Some CPUs segfault trying such op.
|
||||
* Others overfolw MAX_POSITIVE_INT+1 to
|
||||
* Others overflow MAX_POSITIVE_INT+1 to
|
||||
* MAX_NEGATIVE_INT (0x7fff+1 = 0x8000).
|
||||
* Make sure to at least not SEGV here:
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user