diff options
author | Sverker Eriksson <[email protected]> | 2014-08-13 16:35:41 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2014-08-13 16:35:41 +0200 |
commit | cc4031b2f139bb980a948455ec60dfaca7f49d24 (patch) | |
tree | 3f5ee9ca5585d8fddeda73e6d76f97b6f8f648cf /erts | |
parent | 8bd7909d29e10a58bf753c4716aa09552e44f10e (diff) | |
download | otp-cc4031b2f139bb980a948455ec60dfaca7f49d24.tar.gz otp-cc4031b2f139bb980a948455ec60dfaca7f49d24.tar.bz2 otp-cc4031b2f139bb980a948455ec60dfaca7f49d24.zip |
crypto: Add valgrind suppression for RC4
Invalid read of size 8
(Address 0x61f7730 is 144 bytes inside a block of size 151 alloc'd)
Suspected: rc4_encrypt_with_state:2321 (-> 0x11B168F5) [crypto.c]
Stackdump:
RC4:??? (-> 0x11DAA060) [/lib/libcrypto.so.0.9.8]
rc4_encrypt_with_state:2321 (-> 0x11B168F5) [crypto.c]
process_main:3524 (-> 0x58D975) [beam_emu.c]
sched_thread_func:7672 (-> 0x4C131E) [erl_process.c]
thr_wrapper:106 (-> 0x656F68) [ethread.c]
start_thread:300 (-> 0x57019C9) [pthread_create.c]
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/valgrind/suppress.patched.3.6.0 | 5 | ||||
-rw-r--r-- | erts/emulator/valgrind/suppress.standard | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/erts/emulator/valgrind/suppress.patched.3.6.0 b/erts/emulator/valgrind/suppress.patched.3.6.0 index b3507bdba7..f79e3ff634 100644 --- a/erts/emulator/valgrind/suppress.patched.3.6.0 +++ b/erts/emulator/valgrind/suppress.patched.3.6.0 @@ -273,6 +273,11 @@ obj:*/ssleay.* fun:AES_cbc_encrypt ... } +{ + crypto RC4 can do harmless word aligned read past end of input + Memcheck:Addr8 + fun:RC4 +} { erts_bits_init_state; Why is this needed? diff --git a/erts/emulator/valgrind/suppress.standard b/erts/emulator/valgrind/suppress.standard index a4da31a61d..b3c77119fb 100644 --- a/erts/emulator/valgrind/suppress.standard +++ b/erts/emulator/valgrind/suppress.standard @@ -260,6 +260,11 @@ obj:*/ssleay.* fun:AES_cbc_encrypt ... } +{ + crypto RC4 can do harmless word aligned read past end of input + Memcheck:Addr8 + fun:RC4 +} { Prebuilt constant terms in os_info_init (PossiblyLost) |