[OpenSIPS-Devel] [OpenSIPS/opensips] e00250: Fix memory leaks in stir_shaken module

Patrice Fournier noreply at github.com
Tue Nov 25 09:03:00 UTC 2025


  Branch: refs/heads/3.5
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e00250131feb2ecb587616dfab446f01efff2a8f
      https://github.com/OpenSIPS/opensips/commit/e00250131feb2ecb587616dfab446f01efff2a8f
  Author: Patrice Fournier <patrice.fournier at t38fax.com>
  Date:   2025-11-25 (Tue, 25 Nov 2025)

  Changed paths:
    M modules/stir_shaken/stir_shaken.c

  Log Message:
  -----------
  Fix memory leaks in stir_shaken module

The stir_shaken module would leak memory any time a signature was added
to a reply instead of the request or returned in a variable. This commit
makes sure the Identity header lump does not get duplicated and freed
only once. Also fixed possible memory leaks in case of issues while
adding a date header to a request without one.

(cherry picked from commit 1b3c7253778930e9daac423a9970c33f10a48377)



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



More information about the Devel mailing list