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

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


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6f786660cffd97f73445c8307dc96bfab7073701
      https://github.com/OpenSIPS/opensips/commit/6f786660cffd97f73445c8307dc96bfab7073701
  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!



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



More information about the Devel mailing list