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

Validate lower bound for available help pages #251

Merged
merged 1 commit into from
May 23, 2024
Merged

Validate lower bound for available help pages #251

merged 1 commit into from
May 23, 2024

Conversation

Ratizux
Copy link
Contributor

@Ratizux Ratizux commented May 23, 2024

help.lua did not check lower bound for the range of available help pages. When /help 0 or /help -1 is invoked, the server shows an empty help page instead of the expected error message.
This fixes the issue.

@mathiascode mathiascode merged commit f9ebbab into cuberite:master May 23, 2024
1 check 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