Skip to content

fix: initialize msg_count in YNOConnection - #89

Merged
Desdaemon merged 1 commit into
ynoproject:masterfrom
jackssrt:fix-initialize-message-count
Aug 26, 2026
Merged

fix: initialize msg_count in YNOConnection#89
Desdaemon merged 1 commit into
ynoproject:masterfrom
jackssrt:fix-initialize-message-count

Conversation

@jackssrt

Copy link
Copy Markdown
Contributor

this pr initializes the memory used for msg_count in YNOConnection, it used to use uninitialized memory which could technically be anything including a high bit pattern.
considering the fact that ynoserver ignores clients (without disconnecting) after the message count gets too big, this could make you effectively soft-locked from online play.

@Desdaemon
Desdaemon merged commit 6c43cd9 into ynoproject:master Aug 26, 2026
3 of 4 checks passed
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.

2 participants