Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ec89b78667430da51e4146bc7f2514f68e9d21a9
      
https://github.com/OpenSIPS/opensips/commit/ec89b78667430da51e4146bc7f2514f68e9d21a9
  Author: Liviu Chircu <li...@opensips.org>
  Date:   2019-02-20 (Wed, 20 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



_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to