<p>In <a href="https://github.com/kamailio/kamailio/pull/390#discussion_r44551280">modules/rtpengine/rtpengine.c</a>:</p>
<pre style='color:#555'>>  found:
>    if (do_test) {
>            node->rn_disabled = rtpp_test(node, node->rn_disabled, 0);
>            if (node->rn_disabled)
>                    goto retry;
>    }
> +
> +  /* build hash table entry */
> +  struct rtpengine_hash_entry *entry = shm_malloc(sizeof(struct rtpp_node));
> +  if (shm_str_dup(&entry->callid, &callid) < 0) {
> +          LM_ERR("rtpengine hash table fail to duplicate calllen=%d callid=%.*s",
</pre>
<p>Function should abort here, otherwise risking segfault</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/pull/390/files#r44551280">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZZhu7FDfa1OwA_9RBQGWE_BIBm4Vks5pE2K3gaJpZM4GcraR.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/pull/390/files#r44551280"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>