[OpenSIPS-Devel] [OpenSIPS/opensips] 981e35: Fix crash when using $si in non SIP routes.
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue Mar 15 22:22:51 CET 2016
Branch: refs/heads/2.1
Home: https://github.com/OpenSIPS/opensips
Commit: 981e3541239ce67481abfc52cae769f7bd35a6ee
https://github.com/OpenSIPS/opensips/commit/981e3541239ce67481abfc52cae769f7bd35a6ee
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
(cherry picked from commit 2d0cebc0be2491984ce357afd89d41212866bc06)
More information about the Devel
mailing list