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

fix 8 character long section names being cut off #196

Merged
merged 1 commit into from
Jul 23, 2023

Conversation

GoGoOtaku
Copy link
Collaborator

@GoGoOtaku GoGoOtaku commented Jul 23, 2023

Insert \0 on 9th+ character instead of the 8th.
The issue comes down to section names that are exactly 8 characters long do not have a terminating \0.
The code already added a \0 but applied it always to the 8th character instead of the last character of the write buffer. (which needs to be 9 characters long).

fixes #195

Insert \0 on 9th+ character instead of the 8th
@GoGoOtaku GoGoOtaku merged commit 136eb7a into mentebinaria:master Jul 23, 2023
@clhodapp
Copy link

Confirmed working 🎉

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.

Truncated section names
2 participants