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

Bogdan Andrei IANCU noreply at github.com
Thu Jan 23 14:57:25 UTC 2025


  Branch: refs/heads/3.5
  Home:   https://github.com/OpenSIPS/opensips
  Commit: dba13a43b10e62490f835fb92c60f35be2fdedaf
      https://github.com/OpenSIPS/opensips/commit/dba13a43b10e62490f835fb92c60f35be2fdedaf
  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)



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



More information about the Devel mailing list