diff options
author | Sverker Eriksson <[email protected]> | 2013-11-27 19:42:46 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2013-11-27 19:42:46 +0100 |
commit | 06188473247fd1edc873d82cf07886fa7e53e8cb (patch) | |
tree | 9da8184924da8ba79c6c157acf0d878ab89a1cb4 /erts/emulator/beam/erl_binary.h | |
parent | 6603481b4612cdc83529cdecc86d5206b99674fd (diff) | |
parent | f32368c4b34c86aa772a372cdb3c306a79127185 (diff) | |
download | otp-06188473247fd1edc873d82cf07886fa7e53e8cb.tar.gz otp-06188473247fd1edc873d82cf07886fa7e53e8cb.tar.bz2 otp-06188473247fd1edc873d82cf07886fa7e53e8cb.zip |
Merge branch 'sverk/bin2term-bitstr-bugs/OTP-11479' into maint
* sverk/bin2term-bitstr-bugs/OTP-11479:
erts: Fix bug in binary_to_term for binaries larger than 2^31
erts: Fix bugs in binary_to_term for invalid bitstrings
Diffstat (limited to 'erts/emulator/beam/erl_binary.h')
-rw-r--r-- | erts/emulator/beam/erl_binary.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_binary.h b/erts/emulator/beam/erl_binary.h index f7dc20f5e6..819b19e566 100644 --- a/erts/emulator/beam/erl_binary.h +++ b/erts/emulator/beam/erl_binary.h @@ -225,7 +225,7 @@ erts_free_aligned_binary_bytes(byte* buf) ** These extra bytes where earlier (< R13B04) added by an alignment-bug ** in this code. Do we dare remove this in some major release (R14?) maybe? */ -#ifdef DEBUG +#if defined(DEBUG) || defined(VALGRIND) # define CHICKEN_PAD 0 #else # define CHICKEN_PAD (sizeof(void*) - 1) |