[OpenSIPS-Devel] [OpenSIPS/opensips] a55520: b2b_entities: fix crashes due to races when deleti...

Vlad Pătrașcu noreply at github.com
Fri Jun 30 13:11:19 UTC 2023


  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a555202410d63c8ae9b5c0b58aeec833cffd16ba
      https://github.com/OpenSIPS/opensips/commit/a555202410d63c8ae9b5c0b58aeec833cffd16ba
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2023-06-30 (Fri, 30 Jun 2023)

  Changed paths:
    M modules/b2b_entities/b2be_clustering.c
    M modules/b2b_entities/dlg.c
    M modules/b2b_entities/dlg.h

  Log Message:
  -----------
  b2b_entities: fix crashes due to races when deleting entity

An entity might have been deleted and freed while the lock has been released
when running the entity storage callbacks.

Related to #3110

(cherry picked from commit 22bd8184e6c1cbd52ce3be79fbe0c52306226f37)





More information about the Devel mailing list