summaryrefslogtreecommitdiffstats
path: root/libcnary/node_list.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2017-03-26 20:06:57 +0200
committerGravatar Nikias Bassen2017-03-26 20:06:57 +0200
commitdccd9290745345896e3a4a73154576a599fd8b7b (patch)
tree595a83e656503420d0a6b10c0173b680cbedac08 /libcnary/node_list.c
parent71bcd3b65e0a40bcdd2bfbdea07f96cce03a8a8f (diff)
downloadlibplist-dccd9290745345896e3a4a73154576a599fd8b7b.tar.gz
libplist-dccd9290745345896e3a4a73154576a599fd8b7b.tar.bz2
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.
Diffstat (limited to 'libcnary/node_list.c')
0 files changed, 0 insertions, 0 deletions