Skip to content

Conversation

@ndossche
Copy link
Member

@ndossche ndossche commented Feb 6, 2023

Fixes GH-10521

The char arrays were too small for a long on 64-bit systems, which resulted in cutting off the string at the end with a NUL byte. Use a size of MAX_LENGTH_OF_LONG to fix this issue instead of a fixed size of 11 chars.

@mvorisek
Copy link
Contributor

mvorisek commented Feb 7, 2023

test is not passing on MacOS

The char arrays were too small for a long on 64-bit systems, which
resulted in cutting off the string at the end with a NUL byte. Use a
size of MAX_LENGTH_OF_LONG to fix this issue instead of a fixed size
of 11 chars.
@ndossche
Copy link
Member Author

ndossche commented Feb 7, 2023

test is not passing on MacOS

Thanks for letting me know, should be fixed now.

Copy link
Member

@devnexen devnexen left a comment

Choose a reason for hiding this comment

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

LGTM but still waiting @cmb69 for this one :)

@ndossche
Copy link
Member Author

Christoph seems quite busy lately, shall we ask someone else for review too or is one reviewer good enough? :)

@ndossche ndossche requested a review from iluuu1994 March 20, 2023 22:12
@iluuu1994
Copy link
Member

Thanks 🙂

@ndossche ndossche self-assigned this Mar 20, 2023
@ndossche ndossche closed this in 3014182 Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants