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

Liviu Chircu liviu at opensips.org
Wed Jun 21 04:08:23 EDT 2017


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