Skip to content

Make sure limit is never negative - #17712

Merged
rullzer merged 1 commit into
masterfrom
enh/limit_hardening/database/user
Oct 28, 2019
Merged

Make sure limit is never negative#17712
rullzer merged 1 commit into
masterfrom
enh/limit_hardening/database/user

Conversation

@rullzer

Copy link
Copy Markdown
Member

There were some cases where a negative limit could be passed in. Which
would happily make the query explode.

This is just a quick hack to make sure it never is negative.

Signed-off-by: Roeland Jago Douma roeland@famdouma.nl

There were some cases where a negative limit could be passed in. Which
would happily make the query explode.
This is just a quick hack to make sure it never is negative.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@rullzer
rullzer merged commit f763219 into masterOct 28, 2019
@rullzer
rullzer deleted the enh/limit_hardening/database/user branch October 28, 2019 12:59
@rullzer

Copy link
Copy Markdown
MemberAuthor

/backport to stable17

@rullzer

Copy link
Copy Markdown
MemberAuthor

/backport to stable16

@backportbot-nextcloud

Copy link
Copy Markdown

The backport to stable16 failed. Please do this backport manually.

@backportbot-nextcloud

Copy link
Copy Markdown

backport to stable17 in #17716

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbugenhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@rullzer@nickvergessen@ChristophWurst