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

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


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e35595e8596e6dd0bedb0b96cadd226c52417243
      https://github.com/OpenSIPS/opensips/commit/e35595e8596e6dd0bedb0b96cadd226c52417243
  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!



      **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