aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_db_util.h
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2019-08-09 12:59:48 +0200
committerJohn Högberg <[email protected]>2019-08-09 13:10:33 +0200
commit16d23f7ea9517b8743d754a2f2d4758abf42d60d (patch)
tree35c2882cc518e44a98c7da19ff2310a4f1d04dc5 /erts/emulator/beam/erl_db_util.h
parent4b6166445235b0b062541ebd00c809c8baa837d0 (diff)
downloadotp-16d23f7ea9517b8743d754a2f2d4758abf42d60d.tar.gz
otp-16d23f7ea9517b8743d754a2f2d4758abf42d60d.tar.bz2
otp-16d23f7ea9517b8743d754a2f2d4758abf42d60d.zip
erts: Disallow binaries whose size in bits exceeds UWORD_MAX
These have never worked in binary matching (including sub-binaries extracted from them) so it's hard to justify their existence. They also make a future migration of binary sizes from bytes to bits problematic, so we may as well change it ahead of time. This is potentially incompatible on 32-bit platforms where a NIF or driver could allocate 512MB+ binaries, but allocations that large should be expected to fail anyway.
Diffstat (limited to 'erts/emulator/beam/erl_db_util.h')
0 files changed, 0 insertions, 0 deletions