cisco / libsrtp

Library for SRTP (Secure Realtime Transport Protocol)
Other
1.21k stars 474 forks source link

start fail(crash) when use openssl1.1.1e #488

Closed situnan closed 3 years ago

situnan commented 4 years ago

./configure --enable-openssl --with-openssl-dir=/usr/local/ssl

(gdb) bt

0 0x00007ffff68c9859 in EVP_MD_CTX_clear_flags (ctx=0x0, flags=2) at crypto/evp/evp_lib.c:514

1 0x00007ffff688fecf in EVP_DigestInit_ex (ctx=0x0, type=0x7ffff6d79e40 , impl=0x0) at crypto/evp/digest.c:68

2 0x00007ffff68e086e in HMAC_Init_ex (ctx=0x612000c89460, key=0x7fffeb9b63e0 , len=20, md=0x7ffff6d79e40 , impl=0x0) at crypto/hmac/hmac.c:70

3 0x00007fffeb9aca5a in srtp_hmac_init (statev=0x612000c89460, key=0x7fffeb9b63e0 '\v' <repeats 20 times>, key_len=20) at crypto/hash/hmac_ossl.c:157

4 0x00007fffeb9abde7 in srtp_auth_type_test (at=0x7fffebbbac80 , test_data=0x7fffebbbac00 ) at crypto/hash/auth.c:122

5 0x00007fffeb9ac6c3 in srtp_auth_type_self_test (at=0x7fffebbbac80 ) at crypto/hash/auth.c:188

6 0x00007fffeb9b0bc8 in srtp_crypto_kernel_do_load_auth_type (new_at=0x7fffebbbac80 , id=3, replace=0) at crypto/kernel/crypto_kernel.c:390

7 0x00007fffeb9b0e42 in srtp_crypto_kernel_load_auth_type (new_at=0x7fffebbbac80 , id=3) at crypto/kernel/crypto_kernel.c:437

8 0x00007fffeb9b00d3 in srtp_crypto_kernel_init () at crypto/kernel/crypto_kernel.c:193

9 0x00007fffeb99c55b in srtp_init () at srtp/srtp.c:2693

situnan commented 4 years ago

use:libsrtp-2.1.0

pabuhler commented 4 years ago

Is this still reproduce able for you when building from master and using latest openssl1.1 ?

pabuhler commented 3 years ago

Close this as there has been no follow up, please reopen with more details if the problem still exists.