Skip to content

Initialize memory of bidi chain #21

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

InfoTeddy
Copy link

This fixes an error of reading uninitialized memory, as reported by Valgrind.

Fixes #19.

This fixes an error of reading uninitialized memory, as reported by
Valgrind.

Fixes Tehreer#19.
@glebm
Copy link
Contributor

glebm commented Feb 8, 2025

Can you please add a test demonstrating the issue (in a separate PR)?

We now have ASAN and UBSAN on CI, and looking at the code I suspect that this may be a valgrind misdetection. If it isn't, there should be a test that triggers a sanitizer error.

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.

PopulateBidiChain in some situations leaves SBBidiType portion of memory uninitialized.
2 participants