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

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


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




More information about the Devel mailing list