[OpenSIPS-Devel] [OpenSIPS/opensips] b4ad73: stir_shaken: Avoid duplicate cleanup on Identity p...

Liviu Chircu noreply at github.com
Fri Sep 4 12:25:28 UTC 2026


  Branch: refs/heads/3.6
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b4ad73ca9c402d69da10b827d9cbf861d36da277
      https://github.com/OpenSIPS/opensips/commit/b4ad73ca9c402d69da10b827d9cbf861d36da277
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2026-09-04 (Fri, 04 Sep 2026)

  Changed paths:
    M modules/stir_shaken/stir_shaken.c

  Log Message:
  -----------
  stir_shaken: Avoid duplicate cleanup on Identity parse errors

Make get_parsed_identity() the sole owner of the parsed_identity
structure and its members, including when parsing fails.  This preserves
the unsupported-ppt cleanup added in 80d48a9e4 while keeping all
rejected Identity headers on a single cleanup path.

Credits to Nick Altmann for reporting the issue and suggesting a fix!

(cherry picked from commit 0fb49d8ec486b63f02b56d2ef8d2edcdd7edbcb5)



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



More information about the Devel mailing list