[OpenSIPS-Devel] [OpenSIPS/opensips] 80acd7: b2b_logic: Fix a logical bug which could cause cra...

Liviu Chircu noreply at github.com
Fri Feb 2 13:16:26 UTC 2024


  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 80acd74afc5cfe6a8d0fe7258b0b9d2f9300eaca
      https://github.com/OpenSIPS/opensips/commit/80acd74afc5cfe6a8d0fe7258b0b9d2f9300eaca
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2024-02-02 (Fri, 02 Feb 2024)

  Changed paths:
    M modules/b2b_logic/logic.c

  Log Message:
  -----------
  b2b_logic: Fix a logical bug which could cause crashes

... in b2b_init_request().  Completes c84fe372c.

Neither @e1 or @e2 can be NULL after the "if" guard, otherwise there is
a good chance of a crash shortly afterwards.

(cherry picked from commit dec380907283b962fa2f1296b0fec1cd730708ea)





More information about the Devel mailing list