[OpenSIPS-Devel] [OpenSIPS/opensips] ddafbc: dialog: prevent crash when running in auto-CANCEL ...

Răzvan Crainea noreply at github.com
Fri May 31 08:29:00 EDT 2019


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ddafbc452a25cc17e8994ea08511e3dccfc98ece
      https://github.com/OpenSIPS/opensips/commit/ddafbc452a25cc17e8994ea08511e3dccfc98ece
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-05-31 (Fri, 31 May 2019)

  Changed paths:
    M modules/dialog/dlg_handlers.c

  Log Message:
  -----------
  dialog: prevent crash when running in auto-CANCEL mode

When auto-CANCEL mode is enabled, the node that receives the replicated
CANCEL does not have a processing context, since it is running out of
the script context. This patch prevents OpenSIPS from crashing.

Reported by Pasan Meemaduma (pasanmdev on GitHub) in #1719

(cherry picked from commit 603a493488d767757ee2122d8d03a555df883b71)





More information about the Devel mailing list