<p>Hi,</p>

<p>The leak was fixed in my local branch, and I apparently forgot to push it. Apologies.</p>

<p>About the bound checking error, the code was cut&amp;pasted from another place in the same file where the same error is still present:</p>

<p>Line 165:<br>
    /* create the new NOTIFY body */<br>
    if ( (pres_user-&gt;len + pres_domain-&gt;len + 1) &gt; MAX_URI_SIZE) {<br>
        LM_ERR("entity URI too long, maximum=%d\n", MAX_URI_SIZE);<br>
        return NULL;<br>
    }</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href='https://github.com/OpenSIPS/opensips/pull/174#issuecomment-37311079'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxMDE3MjA1NywiZGF0YSI6eyJpZCI6MjY5OTM1Mzd9fQ==--8bbbc1a128044c8b57b325d0d720e1bdf3b0cd62.gif' height='1' width='1'></p>