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

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


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