[OpenSIPS-Devel] [OpenSIPS/opensips] 91fdcf: b2b_logic: fix possible crash while bridging

Vlad Pătrașcu noreply at github.com
Tue Apr 4 16:35:06 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 91fdcfda5dda78504bff32982c4eceedd3dc7f73
      https://github.com/OpenSIPS/opensips/commit/91fdcfda5dda78504bff32982c4eceedd3dc7f73
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2023-04-03 (Mon, 03 Apr 2023)

  Changed paths:
    M modules/b2b_logic/bridging.c

  Log Message:
  -----------
  b2b_logic: fix possible crash while bridging

When processing a 200 OK while bridging, an old pointer to a temporary,
already freed entity was being used when saving the out SDP for the
second bridge entity.


  Commit: 7db943fd36de9b3905f85dbe2e7a8a136f0a6fe0
      https://github.com/OpenSIPS/opensips/commit/7db943fd36de9b3905f85dbe2e7a8a136f0a6fe0
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2023-04-04 (Tue, 04 Apr 2023)

  Changed paths:
    M modules/b2b_logic/bridging.c

  Log Message:
  -----------
  b2b_logic: fix bridging with provisional media and rollback feature

When using the b2b_bridge() function with the 'f' flag and provisional media,
we may end up in a state where the remaining entities in the call are
disconnected in terms of media, after the new entity rejects the call.
This commit will trigger an additional SDP renewal sequence between the
bridge initiator and it's original peer entity.


Compare: https://github.com/OpenSIPS/opensips/compare/4d0199f000cd...7db943fd36de



More information about the Devel mailing list