Skip to content

Fix crash in mp4 get track media data name#51

Merged
KMojek merged 6 commits into
masterfrom
fixCrashInMP4GetTrackMediaDataName
Mar 18, 2021
Merged

Fix crash in mp4 get track media data name#51
KMojek merged 6 commits into
masterfrom
fixCrashInMP4GetTrackMediaDataName

Conversation

@dchengTSC
Copy link
Copy Markdown
Contributor

@dchengTSC dchengTSC commented Mar 18, 2021

Was able to get a crash before with this particular file, which was generated by a fuzzer. With this fix, it no longer crashes.

fuzzed.mp4

Copy link
Copy Markdown
Contributor

@altonlea altonlea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know what the runner is for. The fix makes sense though. Why does no-one ever check pointers before using them? Code defensively...that's my motto. Expect failure until proven otherwise!

Copy link
Copy Markdown
Contributor

@KMojek KMojek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good but I think we need to keep this at VS 2017 because it is consumed by TREC which is in turn consumed by GoTREC... which needs to be at VS 2017 because it's part of RecordingLibraries. 😞

@dchengTSC
Copy link
Copy Markdown
Contributor Author

Ok, done!

Copy link
Copy Markdown
Contributor

@KMojek KMojek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@KMojek KMojek merged commit 4fc9463 into master Mar 18, 2021
@KMojek KMojek deleted the fixCrashInMP4GetTrackMediaDataName branch March 18, 2021 15:00
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.

3 participants