[OpenSIPS-Devel] [OpenSIPS/opensips] ef2d8a: dialog: avoid setting last leg without a processin...

Răzvan Crainea noreply at github.com
Fri Oct 2 12:41:28 UTC 2026


  Branch: refs/heads/4.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ef2d8aba9b32b4c85306d7dae4dff2334de71eec
      https://github.com/OpenSIPS/opensips/commit/ef2d8aba9b32b4c85306d7dae4dff2334de71eec
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2026-10-02 (Fri, 02 Oct 2026)

  Changed paths:
    M modules/dialog/dlg_handlers.c

  Log Message:
  -----------
  dialog: avoid setting last leg without a processing context

Some locally generated replies (timer or locally generated) may run
without a processing context, so only store the last destination leg
when one is available.

Many thanks to Nick Altmann for reporting and providing a fix!

(cherry picked from commit 25fc90c3730f931877be53f462b5d0ed712fc696)


  Commit: f6dfdd921ca3adc3482e32566c9f2e92fe0f0d5f
      https://github.com/OpenSIPS/opensips/commit/f6dfdd921ca3adc3482e32566c9f2e92fe0f0d5f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2026-10-02 (Fri, 02 Oct 2026)

  Changed paths:
    M net/net_tcp.c

  Log Message:
  -----------
  net_tcp: guard connection lookup after shutdown

Late shutdown callbacks may attempt to look up a TCP connection after
tcp_destroy() has released the shared hashes and locks.

Many thanks to Nick Altmann for reporting and fixing this issue!

(cherry picked from commit 7b0c8c6ea9c3b3a8e1c7bfdd54a8a30cf462ea9c)


Compare: https://github.com/OpenSIPS/opensips/compare/2327b9b0b53b...f6dfdd921ca3

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



More information about the Devel mailing list