<p>In <a href="https://github.com/OpenSIPS/opensips/pull/623#discussion_r38191717">modules/dialog/dlg_db_handler.c</a>:</p>
<pre style='color:#555'>>         /* compute the required len */
> -        for ( v=vars,l=0 ; v ; v=v->next) {
> +        for ( v=vars,l=0; v ; v=v->next) {
>                 l += v->name.len + 1 + v->val.len + 1;
</pre>
<p>The code below is no longer necessary, since the control chars will be encoded anyway.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/pull/623/files#r38191717">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcicxbi3TFspqd1Xnuivs5U-4hyFVQks5osEBkgaJpZM4Fz92d.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/pull/623/files#r38191717"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>