[OpenSIPS-Devel] [OpenSIPS/opensips] 60cc7e: dialplan: fix shm leak when parsing invalid regex

Liviu Chircu liviu at opensips.org
Tue Aug 19 13:59:25 CEST 2014


  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 60cc7e1d03e94ad808994524588b635643960382
      https://github.com/OpenSIPS/opensips/commit/60cc7e1d03e94ad808994524588b635643960382
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2014-08-19 (Tue, 19 Aug 2014)

  Changed paths:
    M modules/dialplan/dp_db.c

  Log Message:
  -----------
  dialplan: fix shm leak when parsing invalid regex

Upon (re)load, if the subst or repl columns contain expressions which
fail to compile, OpenSIPS will leak shared memory.

Reported by miko95 on GitHub
Closes issue #307
(cherry picked from commit 72028d26bef361b6c99f6ad3653f0e1dbb07c767)
(cherry picked from commit f57025fa90431ae080a91d54ae92564b919da52f)




More information about the Devel mailing list