[OpenSIPS-Devel] [OpenSIPS/opensips] 2d0ceb: Fix crash when using $si in non SIP routes.
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue Mar 15 22:21:50 CET 2016
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 2d0cebc0be2491984ce357afd89d41212866bc06
https://github.com/OpenSIPS/opensips/commit/2d0cebc0be2491984ce357afd89d41212866bc06
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2016-03-15 (Tue, 15 Mar 2016)
Changed paths:
M evi/event_interface.c
M modules/dialog/dlg_req_within.h
M modules/event_route/route_send.c
M pvar.c
M route.c
M timer.c
Log Message:
-----------
Fix crash when using $si in non SIP routes.
If using $si in event, timer or startup routes, return a NULL value.
Use a dummy AF_INET from src and dst IPs.
Prevent crashing while evaluating $si by checking return code of ip_addr2a()
Closes #817
Outdates #828
More information about the Devel
mailing list