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: crash with invalid version for a branch with CLIENT_INFO_LIST #64

Merged
merged 1 commit into from Oct 20, 2021

Conversation

TrueBrain
Copy link
Member

There is a choice to make:

  1. parse as much of the version as possible
  2. ignore the branch
  3. ignore the request

This commit goes for 3), as that is the most verbose to the developer
working on OpenTTD. It is a protocol violation, and the developer
should address the issue. With 1) and 2) it could remain invisible
for a very long time, till it breaks. 3) is the safest, as it
will be noticed sooner or later.

There is a choice to make:
1) parse as much of the version as possible
2) ignore the branch
3) ignore the request

This commit goes for 3), as that is the most verbose to the developer
working on OpenTTD. It is a protocol violation, and the developer
should address the issue. With 1) and 2) it could remain invisible
for a very long time, till it breaks. 3) is the safest, as it
will be noticed sooner or later.
@TrueBrain TrueBrain merged commit bdd828d into OpenTTD:main Oct 20, 2021
@TrueBrain TrueBrain deleted the fix-int-version branch October 20, 2021 21:14
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.

None yet

1 participant