Skip to content

[stable17] Make sure limit is never negative - #17716

Merged
rullzer merged 1 commit into
stable17from
backport/17712/stable17
Oct 28, 2019
Merged

[stable17] Make sure limit is never negative#17716
rullzer merged 1 commit into
stable17from
backport/17712/stable17

Conversation

@backportbot-nextcloud

Copy link
Copy Markdown

backport of #17712

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>
@ChristophWurstChristophWurst added the 4. to release Ready to be released and/or waiting for tests to finish label Oct 28, 2019
@rullzerrullzer mentioned this pull request Oct 28, 2019
@rullzer
rullzer merged commit 01b765f into stable17Oct 28, 2019
@rullzer
rullzer deleted the backport/17712/stable17 branch October 28, 2019 17:58
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishbugenhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@rullzer@ChristophWurst