<p>I see that in the file sipt/sipt.c, function sipt_get_redirection_number we have this array where redirection number will be written :</p>
<p>static char sb_s_buf[26];</p>
<p>Is there a reason for this to be static and therefore keep its value between function calls ?</p>
<p>I've removed the static and the problem seems to disappear, but i'm worried that there might be consequences for the change, since i'm not too familiar with the code.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2030?email_source=notifications&email_token=ABO7UZI4MJPVHMJR2JTI5UTQDQC5ZA5CNFSM4IKIDX72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD33MD3I#issuecomment-519487981">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJ4YHAKKVNUIWBDVDTQDQC5ZANCNFSM4IKIDX7Q">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABO7UZLGSXOHPC5HNZFKOSLQDQC5ZA5CNFSM4IKIDX72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD33MD3I.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2030?email_source=notifications\u0026email_token=ABO7UZI4MJPVHMJR2JTI5UTQDQC5ZA5CNFSM4IKIDX72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD33MD3I#issuecomment-519487981",
"url": "https://github.com/kamailio/kamailio/issues/2030?email_source=notifications\u0026email_token=ABO7UZI4MJPVHMJR2JTI5UTQDQC5ZA5CNFSM4IKIDX72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD33MD3I#issuecomment-519487981",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>