Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libavformat/mpegts-mythtv.c: fix segmentation fault from customization #629

Closed
wants to merge 1 commit into from

Conversation

ulmus-scott
Copy link
Contributor

ts->req_sid could be set to a garbage value > 8192 on the first pass,
so keep the prior value, which is what the code did when it used a
pmt_filter variable that was part of the MpegTSContext.


This fixes the segmentation fault of mythffprobe with John Pilkington's BBC Proms sample from the dev mailing list.

ts->req_sid could be set to a garbage value > 8192 on the first pass,
so keep the prior value, which is what the code did when it used a
pmt_filter variable that was part of the MpegTSContext.
@bennettpeter bennettpeter self-assigned this Sep 1, 2022
@bennettpeter
Copy link
Member

I cherry-picked the commit into master.

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.

None yet

2 participants