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

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


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