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

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


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



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



More information about the Devel mailing list