Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check the path length before coping into tableFile #1300

Merged
merged 3 commits into from Feb 9, 2023

Conversation

Marsman1996
Copy link
Contributor

Fix #1291.

Add check for path length before every string-related functions.

Copy link
Member

@egli egli left a comment

Choose a reason for hiding this comment

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

Hey @Marsman1996 excellent PR!

Can you address the two minor points?

Other than that looks really great! Thank you very much.

liblouis/compileTranslationTable.c Outdated Show resolved Hide resolved
liblouis/compileTranslationTable.c Outdated Show resolved Hide resolved
@egli egli added the memory error Buffer overflow, use after free, memory leak, ... label Feb 8, 2023
@egli egli self-requested a review February 8, 2023 15:27
@egli egli merged commit b2e2995 into liblouis:master Feb 9, 2023
@egli egli removed the needs news Update to NEWS file needed label Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
memory error Buffer overflow, use after free, memory leak, ...
Projects
None yet
Development

Successfully merging this pull request may close these issues.

heap-buffer-overflow in resolveSubtable() at compileTranslationTable.c when long name table given to lou_trace
3 participants