[OpenSIPS-Devel] [OpenSIPS/opensips] 804f5e: [tm] t_lookup_ident() must not mess up with T

Bogdan Andrei IANCU noreply at github.com
Mon Mar 10 09:58:10 UTC 2025


  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 804f5eeb0d3f9e8e23bae0aaba10cc664496826d
      https://github.com/OpenSIPS/opensips/commit/804f5eeb0d3f9e8e23bae0aaba10cc664496826d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

  Changed paths:
    M modules/b2b_entities/dlg.c
    M modules/tm/t_lookup.c

  Log Message:
  -----------
  [tm] t_lookup_ident() must not mess up with T

As t_lookup_ident() returns the found transaction via a parameter, it must not touch T. Everywhere where it is used, the code does not need/rely on T, but is always using only the trasaction from the returned param.
Setting the T is actually creating problem, as it it should set/restor T after a lookup.
This is an alternative fix to #3502

(cherry picked from commit e00f63e0f7a58cdd914bf54b9555c3d4e6a47486)



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list