<p>Assuming this scenario... is it possible to tag <em>shm</em> vs <em>pkg</em> pointers inside the memory allocator, so that when a module tries to <code>free</code>/<code>realloc</code>/.. a pointer with the wrong type, OpenSIPS reports it (hopefully with data about where the operation was done)?</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/721#issuecomment-163578297">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciTvC-6OQMOr2S1MAjfiPH5t7CoGQks5pOVGwgaJpZM4Gx0aq.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/721#issuecomment-163578297"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>