[OpenSIPS-Devel] [OpenSIPS/opensips] 409308: Fix dangling parsed_uri structure in to_body

Bogdan Andrei IANCU noreply at github.com
Thu Jan 23 14:58:48 UTC 2025


  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4093083a8325f061a7ba3f1b629761e8166f08cd
      https://github.com/OpenSIPS/opensips/commit/4093083a8325f061a7ba3f1b629761e8166f08cd
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2025-01-23 (Thu, 23 Jan 2025)

  Changed paths:
    M modules/b2b_logic/logic.c
    M modules/sip_i/sip_i.c
    M modules/sipmsgops/sipmsgops.c
    M parser/parse_to.c
    M parser/parse_to.h

  Log Message:
  -----------
  Fix dangling parsed_uri structure in to_body

Whenever the SIP URI parsing fails, be sure you reset to_body->parsed_uri, as other functions may later try to use it and we want to have it in a consistent format.
The issue was reported by @vladpaiu
Closes #3557

(cherry picked from commit 021172b5ea1db1f80489280c4f4913b4beb14cbd)
(cherry picked from commit dba13a43b10e62490f835fb92c60f35be2fdedaf)



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



More information about the Devel mailing list