<p>(Using git HEAD) OpenSIPS crashes and reports segfault in libc.so due to invalid offset:</p>

<pre><code>/* copy the rest of the message */
memcpy(new_buf+offset, buf+s_offset, len-s_offset);
</code></pre>

<p>with len = 614 and s_offset = 642.</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/155'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwNDM1NjAxMCwiZGF0YSI6eyJpZCI6MjI5MTE1MDd9fQ==--16f435b2b6831208beedc78afbbf0c8ac7556f6b.gif' height='1' width='1'></p>