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

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


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