Repository navigation
RTSP: bound request bodies and preserve interleaved frame boundaries - #1164
Merged
Merged
Conversation
Contributor
This reverts commit e6d64ab.
dormancygrace
commented
Dec 2, 2026
dormancygrace
left a comment
Owner
Author
There was a problem hiding this comment.
Reviewed the request-buffer arithmetic, connection shutdown, and partial-read state for interleaved frames. The body bound reserves the terminating byte before pointer arithmetic, and the discard count survives short reads.
All four patches applied to the pinned LIVE555 archive with zero fuzz. A fresh Linux build completed OPTIONS, DESCRIBE, SETUP and PLAY, delivered an interleaved Opus RTP packet, and completed TEARDOWN. With #1165 and #1166 applied as well, consecutive OPTIONS with and without a body kept their sequence numbers over both TCP and certificate-verified TLS. No blocking findings.
This was referenced Dec 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adapt two input-handling changes from rgaufman/live555 to NanoKVM's pinned LIVE555 2026.06.24.
Verified all four patches against the SHA-256-pinned upstream archive with zero fuzz. Built LIVE555 on Linux with C++20 and NO_OPENSSL. A loopback client played a WAV track over interleaved TCP, sent empty and fragmented frames on an unregistered channel, and completed OPTIONS and TEARDOWN. A request whose declared body exceeded the remaining capacity received 400 immediately after the headers.