[OpenSIPS-Devel] [OpenSIPS/opensips] de35e0: b2b_logic: prevent initializing B2B session on non...

Vlad Pătrașcu noreply at github.com
Fri Jun 16 18:40:46 UTC 2023


  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: de35e0b134ed3fd3229cff345aa0c32c08a6a528
      https://github.com/OpenSIPS/opensips/commit/de35e0b134ed3fd3229cff345aa0c32c08a6a528
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2023-06-16 (Fri, 16 Jun 2023)

  Changed paths:
    M modules/b2b_logic/logic.c

  Log Message:
  -----------
  b2b_logic: prevent initializing B2B session on non-INVITEs

This prevents crashes when the b2b_init_request() function is used on
methods other than INVITE or from other routes than request routes where
the INVITE SIP message is visible.

Related to #3102

(cherry picked from commit 8c0a9e0ae48841e27d4b1e803b584f5de0c3419b)





More information about the Devel mailing list