[OpenSIPS-Devel] [OpenSIPS/opensips] 6b0da1: dialog: fix double lock get on replication update

Răzvan Crainea noreply at github.com
Wed Aug 14 03:58:03 EDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6b0da180ab8ee33ac0eb784127e7738b90b4517e
      https://github.com/OpenSIPS/opensips/commit/6b0da180ab8ee33ac0eb784127e7738b90b4517e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-08-14 (Wed, 14 Aug 2019)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: fix double lock get on replication update

When a replicated packet was received due to a timeout update, the
dialog was refferenced with the lock already acquired, resulting in a
deadlock. This fix refferences the dialog in an "unsafe" way, without
trying to acquire the lock, since it is already acquired.





More information about the Devel mailing list