commit | dccd9290745345896e3a4a73154576a599fd8b7b | [log] [tgz] |
---|---|---|
author | Nikias Bassen <nikias@gmx.li> | Sun Mar 26 20:06:57 2017 +0200 |
committer | Nikias Bassen <nikias@gmx.li> | Sun Mar 26 20:06:57 2017 +0200 |
tree | 595a83e656503420d0a6b10c0173b680cbedac08 | |
parent | 71bcd3b65e0a40bcdd2bfbdea07f96cce03a8a8f [diff] |
bplist: Make sure sanity checks work on 32bit platforms Because on 32-bit platforms 32-bit pointers and 64-bit sizes have been used for the sanity checks of the offset table and object references, the range checks would fail in certain interger-overflowish situations, causing heap buffer overflows or other unwanted behavior. Fixed by wideing the operands in question to 64-bit.