In modules/rtpengine/rtpengine.c:

>  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",

Function should abort here, otherwise risking segfault


Reply to this email directly or view it on GitHub.