[OpenSIPS-Devel] [OpenSIPS/opensips] d0ce8e: dialog: Fix missing unlock ops on DB load error-cases

Liviu Chircu noreply at github.com
Tue Sep 14 09:08:58 EST 2021


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d0ce8e553e5c00841de7c223d646e3b101a3c303
      https://github.com/OpenSIPS/opensips/commit/d0ce8e553e5c00841de7c223d646e3b101a3c303
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-09-14 (Tue, 14 Sep 2021)

  Changed paths:
    M modules/dialog/dlg_db_handler.c

  Log Message:
  -----------
  dialog: Fix missing unlock ops on DB load error-cases

This patch fixes some startup deadlocks in case a dialog loaded from
database has an incorrect DID (failed checksum check) or if OpenSIPS
runs out of shared memory while importing dialogs from DB on startup.

(cherry picked from commit 9e8d36c34390d18d5996121deddcce5cd143830f)





More information about the Devel mailing list