Skip to content

fix minor overflow in demux_mkv.c#17930

Open
curious-rabbit wants to merge 1 commit into
mpv-player:masterfrom
curious-rabbit:master
Open

fix minor overflow in demux_mkv.c#17930
curious-rabbit wants to merge 1 commit into
mpv-player:masterfrom
curious-rabbit:master

Conversation

@curious-rabbit
Copy link
Copy Markdown

parse_vorbis_chmap in demux/demux_mkv.c: vendor_length + 4 > size overflows in 32-bit math, and reserves 4 bytes too few for the following num_headers read, letting a crafted Matroska/FLAC file over-read up to 4 bytes past a metadata block. This leads to nothing and is harmless but can easily be fixed.

Comment thread demux/demux_mkv.c Outdated
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