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

error deprecat argment check #24057

Closed
blue-bird1 opened this issue Apr 11, 2023 · 2 comments · Fixed by #28339
Closed

error deprecat argment check #24057

blue-bird1 opened this issue Apr 11, 2023 · 2 comments · Fixed by #28339

Comments

@blue-bird1
Copy link

Description

in code.
because convert.ToCorrectPageSize, listOptions.PageSize never is 0

Gitea Version

aa4d1d9

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

make && /gitea web

Database

None

@blue-bird1
Copy link
Author

It's a lucky bug. It found in my codeql query。
It lost the size check, but never entered this branch

@lunny
Copy link
Member

lunny commented Jul 27, 2023

It's not a bug, it's a useless code.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants