Skip to content

Sometimes test t/mp3.t fails with a segmentation fault. - #22

Open
paulgevers wants to merge 1 commit into
LMS-Community:masterfrom
paulgevers:fix-cpan-181107
Open

paulgevers wants to merge 1 commit into
LMS-Community:masterfrom
paulgevers:fix-cpan-181107

Conversation

@paulgevers

Copy link
Copy Markdown

Reason is that the buffer is read for a NUL check before the length is checked. Always check the length before reading to avoid falling off behind buffer size.

Reason is that the buffer is read for a NUL check before the length is checked.
Always check the length before reading to avoid falling off behind buffer size.

Signed-off-by: Paul Gevers <elbrus@debian.org>
@paulgevers

Copy link
Copy Markdown
Author

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