[OpenSIPS-Devel] [OpenSIPS/opensips] f525db: tm: Fix rare crashes during SRV failover (part 1)

Liviu Chircu noreply at github.com
Tue May 6 09:48:18 UTC 2025


  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f525db97fb83078bb6711838509f83cb1116d714
      https://github.com/OpenSIPS/opensips/commit/f525db97fb83078bb6711838509f83cb1116d714
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M modules/tm/t_msgbuilder.h

  Log Message:
  -----------
  tm: Fix rare crashes during SRV failover (part 1)

Fix a specific edge-case where OpenSIPS crashes with double pkg_free(),
whenever:

- SRV failover is engaged (SRV dest with a 408 or 503 reply from downstream)
- a branch route is in use
- script developer does a READ and WRITE on the $ru or $du, from this
  branch route

Many thanks to Bogdan Iancu for helping troubleshoot this!

(cherry picked from commit 6f786660cffd97f73445c8307dc96bfab7073701)



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



More information about the Devel mailing list