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

Liviu Chircu liviu at opensips.org
Mon Jul 4 15:42:04 CEST 2016


  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e72eec143ec350f9184cd749a4ecf4b85716f8b7
      https://github.com/OpenSIPS/opensips/commit/e72eec143ec350f9184cd749a4ecf4b85716f8b7
  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