[OpenSIPS-Devel] [OpenSIPS/opensips] 3046ae: 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.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3046aed2ea4529d4670b1762ea86edbba98b4603
      https://github.com/OpenSIPS/opensips/commit/3046aed2ea4529d4670b1762ea86edbba98b4603
  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