[OpenSIPS-Devel] [OpenSIPS/opensips] 0de94a: rr: Fix a buffer mgm bug during strict routing cal...
Liviu Chircu
noreply at github.com
Fri Feb 22 10:32:45 EST 2019
Branch: refs/heads/2.4
Home: https://github.com/OpenSIPS/opensips
Commit: 0de94a899d638134e461fe1294a89031b091909e
https://github.com/OpenSIPS/opensips/commit/0de94a899d638134e461fe1294a89031b091909e
Author: Liviu Chircu <liviu at opensips.org>
Date: 2019-02-22 (Fri, 22 Feb 2019)
Changed paths:
M modules/rr/loose.c
Log Message:
-----------
rr: Fix a buffer mgm bug during strict routing callbacks
While doing strict routing (e.g. the R-URI host is a local domain) and
executing the module callbacks, the rr module would provide some bogus
memory pointer as the result of the rr_api.get_route_param() function.
Although opensips would not crash due to the dangling pointer residing
in pkg memory, some callbacks would misbehave (e.g. uac_auth() would
fail to adjust the outbound ACK CSeq, since it cannot locate the ";aci"
Route header field parameter within the dangling pkg area).
Related to #1613
(cherry picked from commit ec89b78667430da51e4146bc7f2514f68e9d21a9)
More information about the Devel
mailing list