Skip to content

Bitstream: Prevent array overreads and undefined behaviour#198

Open
cjee21 wants to merge 2 commits into
MediaArea:masterfrom
cjee21:safety
Open

Bitstream: Prevent array overreads and undefined behaviour#198
cjee21 wants to merge 2 commits into
MediaArea:masterfrom
cjee21:safety

Conversation

@cjee21
Copy link
Copy Markdown
Contributor

@cjee21 cjee21 commented Jun 3, 2026

Attempt to fix #196 as well as reduce MediaInfoLib crashes.

@cjee21
Copy link
Copy Markdown
Contributor Author

cjee21 commented Jun 4, 2026

Test results comparing master branch and this PR: https://github.com/cjee21/ZenLib/actions/runs/26945178715/job/79496251264

The tests are mostly written with AI. Let me know if you want to integrate the tests here.

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.

Vulnerability in BitStream_LE::Skip(size_t bits)

1 participant