aboutsummaryrefslogtreecommitdiffstats
path: root/erts/Makefile.in
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-01-07 18:40:43 +0100
committerBjörn-Egil Dahlberg <[email protected]>2014-01-07 18:40:43 +0100
commit71e6fe5bcbd7b2b98dfa159db34ee1fe14823a56 (patch)
tree671f156892b7d2c36a005e90796267738630b1d9 /erts/Makefile.in
parent006df089ffd6c024a4f5099d27ebcda5a684f0ef (diff)
downloadotp-71e6fe5bcbd7b2b98dfa159db34ee1fe14823a56.tar.gz
otp-71e6fe5bcbd7b2b98dfa159db34ee1fe14823a56.tar.bz2
otp-71e6fe5bcbd7b2b98dfa159db34ee1fe14823a56.zip
erts: Fix bs_get_integer instruction
The instruction bs_get_integer could unnecessarily trigger a garbage collection in failure cases which is unwanted or outright dangerous. Ex: <<X:Sz,_/bits>> = <<"some binary">> Previously, if Sz induced X to a bignum it would reserved memory size this on the heap via a garbage collection before checking if the size could actually match. It will now check the binary size before triggering a collection.
Diffstat (limited to 'erts/Makefile.in')
0 files changed, 0 insertions, 0 deletions