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

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


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





More information about the Devel mailing list