diff options
author | Ricardo M. Correia <rcorreia@wizy.org> | 2012-05-14 21:17:24 +0200 |
---|---|---|
committer | Ricardo M. Correia <rcorreia@wizy.org> | 2012-05-14 21:26:02 +0200 |
commit | 5849bd472a3a7296f91b887884946218897ca11f (patch) | |
tree | 981fd61f70c870ca74bbe73037620d38f388b018 /src/test/README | |
parent | 62e0453ce0ee0f03fca4626882263ec41dc1d64d (diff) |
Fix signed subtraction overflow in CBigNum::setint64().
As noticed by sipa (Pieter Wuille), this can happen when CBigNum::setint64() is
called with an integer value of INT64_MIN (-2^63).
When compiled with -ftrapv, the program would crash. Otherwise, it would
execute an undefined operation (although in practice, usually the correct one).
Diffstat (limited to 'src/test/README')
0 files changed, 0 insertions, 0 deletions