[OpenSIPS-Devel] [OpenSIPS/opensips] c19f0f: dialog: reset locked process only if you locked it

Razvan Crainea razvan at opensips.org
Thu May 17 11:29:43 EDT 2018


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c19f0f0c6144a65769c7693cf6d4791d8736f225
      https://github.com/OpenSIPS/opensips/commit/c19f0f0c6144a65769c7693cf6d4791d8736f225
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M modules/dialog/dlg_cb.c

  Log Message:
  -----------
  dialog: reset locked process only if you locked it

Make sure that when callbacks are run only the proces that has the
callbacks locked resets the locked_by field - if someone else does it,
it might run into a deadlock.

Thanks go to 46Labs for reporting this!

(cherry picked from commit e35595e8596e6dd0bedb0b96cadd226c52417243)



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Devel mailing list