[OpenSIPS-Devel] [OpenSIPS/opensips] c4407c: [tm] fix accessing free'd reference to script route

Bogdan Andrei IANCU noreply at github.com
Thu Jul 13 09:28:51 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c4407c4d0184784197fceb17fe97b6154bf54511
      https://github.com/OpenSIPS/opensips/commit/c4407c4d0184784197fceb17fe97b6154bf54511
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2023-07-13 (Thu, 13 Jul 2023)

  Changed paths:
    M modules/tm/t_reply.c

  Log Message:
  -----------
  [tm] fix accessing free'd reference to script route

When setting the T->failure reference to NULL, the previously set script reference is automatically free'ed, so be sure you do not use if afterwards.
Closes #3115
Credits to @Integration-IT for helping with the troubleshooting and testing

(cherry picked from commit 30f6c2aa070f58897e3f3fb651012189a5adff1e)





More information about the Devel mailing list