[OpenSIPS-Devel] [OpenSIPS/opensips] 6e6d87: b2b_logic: fix a crash when using the "n" flag for...

Vlad Pătrașcu noreply at github.com
Fri Jul 23 08:01:03 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6e6d876ba9173531c78787f71b7da30e71c520ec
      https://github.com/OpenSIPS/opensips/commit/6e6d876ba9173531c78787f71b7da30e71c520ec
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2021-07-22 (Thu, 22 Jul 2021)

  Changed paths:
    M modules/b2b_logic/logic.c

  Log Message:
  -----------
  b2b_logic: fix a crash when using the "n" flag for b2b_bridge()

The crash would occur when using the "n" flag even though the current
entity has already been deleted with b2b_delete_entity().


  Commit: 947c7e3c295cffde48ddb4c35d928ae7339722dd
      https://github.com/OpenSIPS/opensips/commit/947c7e3c295cffde48ddb4c35d928ae7339722dd
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2021-07-22 (Thu, 22 Jul 2021)

  Changed paths:
    M modules/b2b_logic/logic.c

  Log Message:
  -----------
  b2b_logic: fix bad NOTIFY body for 100 Trying

The static variable representing the new message body would point to the
buffer of the SIP message from the previous call to process_bridge_notify(),
resulting in garbage data.

Credits to @nikbyte for catching the issue.
Alternative fix to #2503.


  Commit: 250a33c61c677642f74a242d4b600165f8803643
      https://github.com/OpenSIPS/opensips/commit/250a33c61c677642f74a242d4b600165f8803643
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2021-07-23 (Fri, 23 Jul 2021)

  Changed paths:
    M modules/b2b_logic/logic.c

  Log Message:
  -----------
  b2b_logic: properly end dialog with notified entity

Send BYE instead of just deleting the entity after completing the
bridging action, when using the "n" flag for b2b_bridge().


Compare: https://github.com/OpenSIPS/opensips/compare/20cc8075df63...250a33c61c67



More information about the Devel mailing list