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

Liviu Chircu noreply at github.com
Wed Oct 16 12:37:19 EDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 51d6fa736700d7365d5316a3b5f8a4933916d72f
      https://github.com/OpenSIPS/opensips/commit/51d6fa736700d7365d5316a3b5f8a4933916d72f
  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)
(cherry picked from commit 7345e9ee8281577efe8a214f27dc08388dc91ef4)





More information about the Devel mailing list