[sr-dev] [tracker] Assignee added: Crash if t_release() is executed after t_relay_to(), when this last returns -1

Iñaki Baz Castillo ibc at aliax.net
Tue Nov 29 21:52:22 CET 2011


2011/11/29 Olle E. Johansson <oej at edvina.net>:
>> FS#184 - Crash if t_release() is executed after t_relay_to(), when this last returns -1
>> User who did this - Iñaki Baz Castillo (ibc)
>> http://sip-router.org/tracker/index.php?do=details&task_id=184
>
> Now this was caused by bad configuraiton,

Hi Olle, do you mean that this crash is due to a bad configuration?
maybe it does not make sense to call t_release() if t_relay() returned
0, but it should not crash. Also there are cases in which such
decision is not so easy, for example when the script calls to
t_newtran() before calling t_relay().

-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-dev mailing list