Skip to content

Conversation

@lanurmi
Copy link
Contributor

@lanurmi lanurmi commented Oct 29, 2025

Because buf[translations[i].length] and buf[originals[i].length] are set to '\0', we must reserve one extra byte for the nul; .length is not quite big enough.

The issue was detected using Xcode's AddressSanitizer.

Because buf[translations[i].length] and buf[originals[i].length] are set
to '\0', we must reserve one extra byte for the nul; .length is not quite
big enough.

The issue was detected using Xcode's AddressSanitizer.
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