<p></p>
<p>The <code>pv_get_buffer()</code> return the pointer of the allocated buffer, which should be aligned:</p>
<pre><code>3593             p = pv_get_buffer();
3594            memcpy(p, in->s, in->len);
</code></pre>
<p>That means there is a buffer overflow/memory overwrite in one of the components you use. If you can narrow it down to a minimal config, it would help a lot. Also, knowing if default <code>kamailio.cfg</code> + <code>append_hf_value()</code> works or not would help to rule out many modules.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2788#issuecomment-869430944">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZLQOV4FXWDRJAQAVATTVAQC3ANCNFSM47KPNKGA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZN4RZASPGTSZGVUBVDTVAQC3A5CNFSM47KPNKGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGPJHNIA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2788#issuecomment-869430944",
"url": "https://github.com/kamailio/kamailio/issues/2788#issuecomment-869430944",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>