Skip to content

specrec: add sanity checks on the width - #232

Merged
fabiangreffrath merged 2 commits into
knik0:masterfrom
robUx4:specrec-sanity
Aug 18, 2026
Merged

specrec: add sanity checks on the width#232
fabiangreffrath merged 2 commits into
knik0:masterfrom
robUx4:specrec-sanity

Conversation

@robUx4

@robUx4 robUx4 commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

I put it there because it fails on some fuzzed file (in VLC) and it fixes a crash, but there might be a better place to handle this (when swb_offset is read and handling the error more gracefully).

robUx4 added 2 commits August 6, 2026 08:00
It comes from hDecoder->frameLength and must be at least equal or greater to the
value before it.
@fabiangreffrath
fabiangreffrath merged commit 692a35c into knik0:master Aug 18, 2026
6 checks passed
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.

2 participants