<p>Hi, Saul!</p>

<p>The first issue you pointed out, might indeed cause an "invalid" use of unallocated memory. However, since that's only pkg memory, nobody can come and use that buffer, so that can't cause any crash. Nevertheless, thanks for pointing it out, I will shortly fix that.</p>

<p>Regarding the <code>release_tcpconn</code> issue, I couldn't find any possible path where the function would get called twice. Even though <code>tcp_read_req</code> explicitly releases the connection, it only does it on successful cases.</p>

<p>Thanks for pointing these out, but I don't see a bug in the code. Perhaps the core dump might give us more information. Can you point out the line that crashed?</p>

<p>Thanks,<br>
Răzvan</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/issues/813#issuecomment-192260018">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcieeiCiudXJbuEx3eM8u0pCkPlmpDks5pqCTsgaJpZM4HlWvm.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/OpenSIPS/opensips/issues/813#issuecomment-192260018"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>