Skip to content

Fix Windows OS.get_unique_id() null termination issue #106052

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 6 commits into
base: master
Choose a base branch
from

Conversation

uno1982
Copy link
Contributor

@uno1982 uno1982 commented May 3, 2025

Fixes: #106012

It appears the function return from the windows API included a null termination?
I've commented this specific segment of code with a safety to handle this.
There was quite a bit of changes between 4.4 and 4.5-Dev around print() and print_rich() that created some difficulty in hunting the exact cause of the editor output hang while the console exe continued to function

This fix addresses the length, output and concat, issues.

Before:
image

After:
image

@uno1982 uno1982 requested a review from a team as a code owner May 3, 2025 09:53
@AThousandShips AThousandShips added this to the 4.5 milestone May 3, 2025
@AThousandShips AThousandShips changed the title Fix: Windows OS.get_unique_id() null termination issue Fix Windows OS.get_unique_id() null termination issue May 3, 2025
@uno1982 uno1982 force-pushed the correct-get_unique_id-windows-null-termination branch from 21f05d2 to eab57c5 Compare May 3, 2025 11:01
@uno1982 uno1982 requested a review from AThousandShips May 3, 2025 11:23
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.

Windows OS.get_unique_id() bug
2 participants