[OpenSIPS-Devel] [OpenSIPS/opensips] c980b4: regex transformation: Fix a double free bug

Liviu Chircu liviu at opensips.org
Wed Jun 21 04:09:20 EDT 2017


  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c980b440c47d85b62df037bc256579cd00b44bce
      https://github.com/OpenSIPS/opensips/commit/c980b440c47d85b62df037bc256579cd00b44bce
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-06-21 (Wed, 21 Jun 2017)

  Changed paths:
    M re.c

  Log Message:
  -----------
  regex transformation: Fix a double free bug

Supplying a bad regular expression to {re.subst} would lead to
a double pkg_free().

Credits to Nick Altmann for reporting / helping with troubleshooting

(cherry picked from commit 00d44e8bb17b7391fa0c7a18137d880ba0dff4ee)




More information about the Devel mailing list