<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div style="line-height:1.6;font-family:'苹方','微软雅黑','sans-serif';">Dear all, very appreciate your reply! We have double check the implementation of related functions, and confirm that the input params for the function <br/>int rsa_public_encrypt(const uint8_t *rsa_input, const int input_len, uint8_t *enc_out, uint8_t *public_key, const int key_len)<br/>are all stack variables(say rsa_input, enc_out and public_key), so there should have no problems with alloc;<br/><br/>we find things about threads with openssl here <a href="https://www.openssl.org/docs/man1.0.2/crypto/threads.html">https://www.openssl.org/docs/man1.0.2/crypto/threads.html</a><br/>and add the lock functions, till now, it seems ok, but we still could not make sure whether it is the safely in multi-thread response for the crash<br/><br/>By the way, the function 'base64_encode' is to encode chars in base64, any function implement this method could be used for compilation.<br/><br/></div><div class='ne-quoted'><!DOCTYPE html>
<html lang="en" style="height:100%">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0,user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
</head>

<body style="margin:0;padding:0">
    <a href="https://maas.mail.163.com/dashi-web-extend/html/proSignature.html?iconUrl=http://nos.netease.com/mail-online/sm883894190a6a14721a36d29c24585682.jpg&name=renxiang0214&uid=renxiang0214%40gmail.com&ftlId=3&items=%5B%22%E9%82%AE%E7%AE%B1%EF%BC%9Arenxiang0214%40gmail.com%22%5D" width="400" style="display:block; max-width: 400px; _width: 400px; background:#fff;padding:15px 0 10px 0;text-decoration: none; outline:none;-webkit-tap-highlight-color:transparent;">
        <table cellpadding="0" style="width:100%; max-width: 100%; table-layout: fixed; border-collapse: collapse; border-spacing: 0; line-height: 1.3; color: #9b9ea1;font-size: 14px;">
            <tbody style="font-family: 'PingFang SC', 'Hiragino Sans GB','WenQuanYi Micro Hei', 'Microsoft Yahei', '微软雅黑', verdana !important; word-wrap:break-word; word-break:break-all;">
                <tr>
                    <td width="45" style="padding:0 7px 0 0; box-sizing: border-box; width: 45px;">
                        <img width="38" height="38" style="width: 38px; height: 38px; border-radius:50%;" src="http://nos.netease.com/mail-online/sm883894190a6a14721a36d29c24585682.jpg" />
                    </td>
                    <td style="padding: 0 0 0 7px;">
                        <div style="max-width: 380px;  _width: 380px;">
                            <div style="box-sizing: border-box; padding-right: 35px; font-size: 16px; margin-bottom: 5px; color:#31353b;font-weight:bold;width: 100%; white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">renxiang0214</div>
                            <div style="font-size:0;line-height: 0;">
                            </div>
                                <div style="word-wrap:break-word;word-break:break-all">
                                    邮箱:renxiang0214@gmail.com
                                </div>
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
    </a>
</body>

</html><html><body style="margin:0"><p style="margin:0;border-top:1px solid #e5e5e5;padding-top: 6px; font-size: 12px; color:#b6b8bb;line-height: 1.5;">签名由 <a href="http://mail.163.com/dashi/android.html?from=mail28" style="color:#6aa8f6;text-decoration: none">网易邮箱大师</a> 定制</p></body></html><blockquote id='ntes-andriodmail-quote' style="margin:0px !important;padding:0px !important;border: none !important;"><div class="J-reply" style="background-color:#f2f2f2;color:black;padding-top:6px;padding-bottom:6px;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;margin-top:45px;margin-bottom:20px;">
    <div style="font-size:14px;line-height:1.5;word-break:break-all;margin-left:10px;margin-right:10px">在<span class="mail-date">2018年02月11日 21:12</span>,<a class="mail-to" style="text-decoration:none;color:#2a97ff;" href="mailto:openssl-users@openssl.org">Salz, Rich via openssl-users</a> 写道:</div>
</div><html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<div style="mso-element:para-border-div;border:none;border-top:solid #E5E5E5 1.0pt;padding:5.0pt 0in 0in 0in">
<p style="margin:0in;margin-bottom:.0001pt;border:none;padding:0in"><a name="_MailOriginalBody"><span style="font-size:9.0pt">The usual cause for this is a stray or incorrect pointer, corrupting malloc structures.  Have you run your code under a valgrind or
 similar?<span style="color:#B6B8BB"><o:p></o:p></span></span></a></p>
</div>
</div>
</body>
</html>
</blockquote></div>
</body>
</html>