Skip to content

upipe_ts_scte35_decoder: fix use-after-unmap in command handlers#1168

Open
kierank wants to merge 1 commit into
Upipe:masterfrom
kierank:scte
Open

upipe_ts_scte35_decoder: fix use-after-unmap in command handlers#1168
kierank wants to merge 1 commit into
Upipe:masterfrom
kierank:scte

Conversation

@kierank
Copy link
Copy Markdown
Contributor

@kierank kierank commented May 28, 2026

uref_ts_scte35_set_message reads from the scte35 pointer obtained via uref_block_read. Call it before uref_block_unmap in all three command handlers so the pointer is still valid when the data is copied.

uref_ts_scte35_set_message reads from the scte35 pointer obtained via
uref_block_read. Call it before uref_block_unmap in all three command
handlers so the pointer is still valid when the data is copied.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant