Skip to content

[1.x] backport string reading enhancements#323

Merged
mbunkus merged 2 commits intoMatroska-Org:v1.xfrom
robUx4:1x-fully-leak
Aug 5, 2025
Merged

[1.x] backport string reading enhancements#323
mbunkus merged 2 commits intoMatroska-Org:v1.xfrom
robUx4:1x-fully-leak

Conversation

@robUx4
Copy link
Contributor

@robUx4 robUx4 commented Jul 25, 2025

This avoids some leaks when readFully() emits an exception.

ePirat pushed a commit to videolan/vlc that referenced this pull request Jul 29, 2025
The code is cleaner and doesn't leak local buffers when readFully() emits
an exception. As in "oss-fuzz 5479158623043584".

Backport sent upstream at Matroska-Org/libebml#323
ePirat pushed a commit to videolan/vlc that referenced this pull request Jul 30, 2025
The code is cleaner and doesn't leak local buffers when readFully() emits
an exception. As in "oss-fuzz 5479158623043584".

Backport sent upstream at Matroska-Org/libebml#323

(cherry picked from commit bee5a09)
Copy link
Contributor

@mbunkus mbunkus left a comment

Choose a reason for hiding this comment

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

This makes a lot of sense & works just fine with MKVToolNix' test suite. I'll merge in a bit.

@mbunkus mbunkus merged commit b54c8c7 into Matroska-Org:v1.x Aug 5, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants