[OpenSIPS-Devel] [OpenSIPS/opensips] 7345e9: assert() statement: Fix crash on startup

Liviu Chircu noreply at github.com
Wed Oct 16 12:36:01 EDT 2019


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7345e9ee8281577efe8a214f27dc08388dc91ef4
      https://github.com/OpenSIPS/opensips/commit/7345e9ee8281577efe8a214f27dc08388dc91ef4
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-10-16 (Wed, 16 Oct 2019)

  Changed paths:
    M route.c

  Log Message:
  -----------
  assert() statement: Fix crash on startup

The asserted expression must be ran through the fixup logic before it
can be fully usable.  For example, this fixes:

    assert($var(x) =~ "X", "test-op-match-1");

(cherry picked from commit cf117186ae389672a5d4e48538e81ed2b7de4fd6)





More information about the Devel mailing list