[EXTERNAL] Re: SSL error (78c0100): malloc failure while implementing tls 1.3

Ramaiah, Ravichandran Bagalur rramaiah at rbbn.com
Wed Jun 29 12:56:02 UTC 2022


I was able to trace the failure to ssl/ssl_sess.c line 279.

I’m not sure what needs to done additionally in application code for this. Could someone please explain this error?

I’m just trying to add support for tls 1.3 in application which already supports tls 1.2.

(gdb) bt
#0  0x00007fd5737051a0 in ssl_session_dup () from /lib/x86_64-linux-gnu/libssl.so.3
#1  0x00007fd57373a931 in tls_construct_new_session_ticket () from /lib/x86_64-linux-gnu/libssl.so.3
#2  0x00007fd57372aaff in state_machine.part () from /lib/x86_64-linux-gnu/libssl.so.3
#3  0x00007fd573719e8e in ssl3_read_bytes () from /lib/x86_64-linux-gnu/libssl.so.3
#4  0x00007fd5736edcc9 in ssl3_read () from /lib/x86_64-linux-gnu/libssl.so.3
#5  0x00007fd5736fa6c0 in ssl_read_internal () from /lib/x86_64-linux-gnu/libssl.so.3
#6  0x00007fd5736fa7f5 in SSL_read () from /lib/x86_64-linux-gnu/libssl.so.3



Regards,
Ravi


_____________________________________________
From: Ramaiah, Ravichandran Bagalur <rramaiah at rbbn.com>
Sent: Wednesday, June 29, 2022 12:55 PM
To: Matt Caswell <matt at openssl.org>; openssl-users at openssl.org
Subject: RE: [EXTERNAL] Re: SSL error (78c0100): malloc failure while implementing tls 1.3


Hi Matt,

Below is the error I got when I printed using ERR_error_string().


error:078C0100:common libcrypto routines::malloc failure

Any pointers on this?

Regards,
Ravi

-----Original Message-----
From: Matt Caswell <matt at openssl.org<mailto:matt at openssl.org>>
Sent: Tuesday, June 21, 2022 4:25 PM
To: Ramaiah, Ravichandran Bagalur <rramaiah at rbbn.com<mailto:rramaiah at rbbn.com>>; openssl-users at openssl.org<mailto:openssl-users at openssl.org>
Subject: [EXTERNAL] Re: SSL error (78c0100): malloc failure while implementing tls 1.3



On 16/06/2022 05:52, Ramaiah, Ravichandran Bagalur wrote:
>
> *SSL error (78c0100): malloc failure

Do you get anything in the OpenSSL error stack for this (e.g. try "ERR_print_errors_fp(stdout);").

We need a bit more to go on to figure out where specifically the malloc failure is occurring.

Matt



Notice: This e-mail together with any attachments may contain information of Ribbon Communications Inc. and its Affiliates that is confidential and/or proprietary for the sole use of the intended recipient. Any review, disclosure, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please notify the sender immediately and then delete all copies, including any attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20220629/56569020/attachment.htm>


More information about the openssl-users mailing list