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

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


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





More information about the Devel mailing list