[OpenSIPS-Devel] [OpenSIPS/opensips] 2f3ee9: Fix crash when calling script functions with omitt...

Vlad Pătrașcu noreply at github.com
Fri Nov 27 13:42:53 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2f3ee99c6a21498d4d42904162b4fd2195bff9ab
      https://github.com/OpenSIPS/opensips/commit/2f3ee99c6a21498d4d42904162b4fd2195bff9ab
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-11-27 (Fri, 27 Nov 2020)

  Changed paths:
    M mod_fix.c

  Log Message:
  -----------
  Fix crash when calling script functions with omitted optional params

The crash would happen if the script function is exported with the
CMD_PARAM_FIX_NULL flag and does not actually change the parameter
value. Currently, only forward() uses the flag in this manner and
is the only function affected by this crash.

(cherry picked from commit 278c1646451ab75196e0440c15047d25a7b4b2f4)





More information about the Devel mailing list