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

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


  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 30f6c2aa070f58897e3f3fb651012189a5adff1e
      https://github.com/OpenSIPS/opensips/commit/30f6c2aa070f58897e3f3fb651012189a5adff1e
  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





More information about the Devel mailing list