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

Liviu Chircu liviu at opensips.org
Mon Jul 4 15:37:45 CEST 2016


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




More information about the Devel mailing list