[OpenSIPS-Devel] [OpenSIPS/opensips] dc34a8: usrloc shutdown: Destroy the CDB conn _after_ cleanup

Liviu Chircu noreply at github.com
Wed Jul 24 06:11:12 EDT 2019


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: dc34a8399460ba9f67a8aa21917f9709b2eda4cc
      https://github.com/OpenSIPS/opensips/commit/dc34a8399460ba9f67a8aa21917f9709b2eda4cc
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-24 (Wed, 24 Jul 2019)

  Changed paths:
    M modules/usrloc/ul_mod.c

  Log Message:
  -----------
  usrloc shutdown: Destroy the CDB conn _after_ cleanup

This fixes a possible crash on shutdown whenever a contact expires
during the shutdown and needs to be flushed.

Credits to @bogdan-iancu for the accurate report

(cherry picked from commit 94bbbebbcf99843baa5b6d60e699a466c9adc3d2)





More information about the Devel mailing list