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

Bogdan Andrei IANCU noreply at github.com
Thu Jan 23 11:14:27 UTC 2025


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



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



More information about the Devel mailing list