[OpenSIPS-Devel] [OpenSIPS/opensips] a92677: 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.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a92677ec3aac9987c7963c089f426112a72384ca
      https://github.com/OpenSIPS/opensips/commit/a92677ec3aac9987c7963c089f426112a72384ca
  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