[OpenSIPS-Devel] [OpenSIPS/opensips] 4da1a0: acc: Fix incorrect Request-URI handling

Liviu Chircu liviu at opensips.org
Mon Jul 4 15:39:53 CEST 2016


  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4da1a06935dc3636516aca5741252181ae25d06e
      https://github.com/OpenSIPS/opensips/commit/4da1a06935dc3636516aca5741252181ae25d06e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2016-07-04 (Mon, 04 Jul 2016)

  Changed paths:
    M modules/acc/acc_logic.c

  Log Message:
  -----------
  acc: Fix incorrect Request-URI handling

If the config script does not include any Request-URI altering logic
(e.g. no lookup() or $ru manipulation), the acc module would incorrectly fill
in a "msg->new_uri" field which should NOT be freed into the SIP request
structure, leading to the memory pool being corrupted upon transaction release.

Credits to Guillaume Lacroix for reporting

(cherry picked from commit 02cb9f048d0a5e1f988aa9ccae1691216ed16ee5)




More information about the Devel mailing list