Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 37eab9a8c2dd19a17f2617057ca2014e9ffee263
      
https://github.com/OpenSIPS/opensips/commit/37eab9a8c2dd19a17f2617057ca2014e9ffee263
  Author: Bogdan-Andrei Iancu <[email protected]>
  Date:   2018-02-28 (Wed, 28 Feb 2018)

  Changed paths:
    M transformations.c

  Log Message:
  -----------
  Extend the test for re-using pre-compiled regexp.

A failure in compiling a regexp may lead to an inconsistent state, where the 
buffer is correctly populated, but the regexp pointer is NULL -> on next usage, 
the code will attempt to directly used (as the regexp buffer matches) the NULL 
pointer and crash.
Reported by Ben Newlin <[email protected]>

(cherry picked from commit b77c1823ead3b61875e9f0dae1d57c9a6455135b)


_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to