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

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


  Branch: refs/heads/4.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 917eda33ef9eb15e8239195883e2220ed808f79a
      https://github.com/OpenSIPS/opensips/commit/917eda33ef9eb15e8239195883e2220ed808f79a
  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