Skip to content

[1.x] IOCallback: avoid reading more than 2^32 at once#326

Open
robUx4 wants to merge 1 commit intoMatroska-Org:v1.xfrom
robUx4:1x-readfully-uint32
Open

[1.x] IOCallback: avoid reading more than 2^32 at once#326
robUx4 wants to merge 1 commit intoMatroska-Org:v1.xfrom
robUx4:1x-readfully-uint32

Conversation

@robUx4
Copy link
Contributor

@robUx4 robUx4 commented Feb 11, 2026

In practice it should never happen as 2^32+1 buffers are not possible on any known platform. But better safe than sorry. Or memory mapped files could reach this code ?

(cherry picked from commit 40b4797)

In practice it should never happen as 2^32+1 buffers are not possible on any
known platform. But better safe than sorry. Or memory mapped files could reach
this code ?

(cherry picked from commit 40b4797)
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.

1 participant