LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   SCEP enroll for signed CA certificate, BIO_free() crashes with heap corruption error (https://www.linuxquestions.org/questions/linux-security-4/scep-enroll-for-signed-ca-certificate-bio_free-crashes-with-heap-corruption-error-4175512623/)

gprathap1121@gmail.com 07-29-2014 10:15 AM

SCEP enroll for signed CA certificate, BIO_free() crashes with heap corruption error
 
Hello,

While enrolling for the signed CA certificate, android DUT generates openssl RSA key to be used for signing and sending it to the CA server.

Application uses openSSL BIO_new() and BIO_free() calls to allocate and used for storing the private key and public keys.

While making these calls, DUT crashes once in a while with error in following frames generated from core.
__bionic_heap_usage_error(). --> bionic/libc/bionic/dlmalloc.c
dlfree() at bionic/libc/bionic/../upstream-dlmalloc/malloc.c
free at bionic/libc/bionic/malloc_debug_common.cpp:230
CRYPTO_free at external/openssl/crypto/mem.c:397
mem_free at external/openssl/crypto/bio/bss_mem.c:128
BIO_free at external/openssl/crypto/bio/bio_lib.c:136


Does any body faced similar issue while working on certificate enrollment with CA server?


All times are GMT -5. The time now is 03:43 PM.