[OpenSIPS-Devel] [OpenSIPS/opensips] 20b0ba: SDP ops: Fix edge-case with missing ending LF

Liviu Chircu noreply at github.com
Mon Sep 8 15:15:52 UTC 2025


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 20b0ba813a64d7aac7ebe11553714bc5f5ecb875
      https://github.com/OpenSIPS/opensips/commit/20b0ba813a64d7aac7ebe11553714bc5f5ecb875
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2025-09-08 (Mon, 08 Sep 2025)

  Changed paths:
    M sdp_ops.c
    M sdp_ops.h
    M test/test-sdp-ops.cfg

  Log Message:
  -----------
  SDP ops: Fix edge-case with missing ending LF

OpenSIPS no longer throws an error on SDP bodies with missing
line-termination sequence on the very last line.  According to SDP ABNF
specs, this is bad syntax, but we accept it and move on.

Moreover, assuming the SDP is dirty (at least one edit), the output SDP
($sdp) will always be normalized to include the ending LF sequence.



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



More information about the Devel mailing list