X Tutup
Skip to content

Fix "Unexpected NUL character" errors on Wine.#112496

Merged
Repiteo merged 1 commit intogodotengine:masterfrom
bruvzg:nullcert
Nov 7, 2025
Merged

Fix "Unexpected NUL character" errors on Wine.#112496
Repiteo merged 1 commit intogodotengine:masterfrom
bruvzg:nullcert

Conversation

@bruvzg
Copy link
Member

@bruvzg bruvzg commented Nov 7, 2025

Seems like size returned by CryptBinaryToStringA can both include and not include terminating zero, depending on platform, so add an extra one manually and use strlen to ensure correct size is used to process the string.

@bruvzg bruvzg added this to the 4.6 milestone Nov 7, 2025
@bruvzg bruvzg requested a review from a team as a code owner November 7, 2025 06:18
@Repiteo Repiteo merged commit ee77221 into godotengine:master Nov 7, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Nov 7, 2025

Thanks!

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.

3 participants

X Tutup