[OpenSIPS-Devel] [OpenSIPS/opensips] 91f7ea: b2b_logic: unlink entity in the tuple before destr...

Răzvan Crainea noreply at github.com
Mon Nov 20 13:28:08 UTC 2023


  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 91f7ea7afe0f3a268844617ce44e219343e64ac9
      https://github.com/OpenSIPS/opensips/commit/91f7ea7afe0f3a268844617ce44e219343e64ac9
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-11-20 (Mon, 20 Nov 2023)

  Changed paths:
    M modules/b2b_logic/bridging.c

  Log Message:
  -----------
  b2b_logic: unlink entity in the tuple before destroying

This prevents a crash generated while trying to iterate through the
tuple bridging_entities in the local route - since the entity has been
destroyed, but not removed from the tuple, accessing it may cause in
invalid memory access and crashes.

Thanks go to @BTa7BxrHYn on GitHub for reporting it
Close #3240

(cherry picked from commit ae098f7d86ba022d34b1fcd013a8504b023648f7)





More information about the Devel mailing list