Skip to content

Redis: Limit the maximum number of nested arrays#16882

Merged
chrisvest merged 1 commit into
4.1from
red41
Jun 2, 2026
Merged

Redis: Limit the maximum number of nested arrays#16882
chrisvest merged 1 commit into
4.1from
red41

Conversation

@normanmaurer

Copy link
Copy Markdown
Member

Motivation:

We didn'T limit the maximum number of nested array and so we were in risk of OOME

Modifications:

  • Add constructor that allows to set a limit and use 1024 by default
  • Add unit test

Result:

Limit maximum nested arrays

@normanmaurer normanmaurer added this to the 4.1.135.Final milestone Jun 1, 2026
@normanmaurer normanmaurer added the needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. label Jun 1, 2026
@normanmaurer normanmaurer changed the title Merge commit from fork Redis: Limit the maximum number of nested arrays Jun 1, 2026
Motivation:

We didn'T limit the maximum number of nested array and so we were in risk of OOME

Modifications:

- Add constructor that allows to set a limit and use 1024 by default
- Add unit test

Result:

Limit maximum nested arrays
@chrisvest chrisvest merged commit 728c98b into 4.1 Jun 2, 2026
18 checks passed
@chrisvest chrisvest deleted the red41 branch June 2, 2026 19:02
@netty-project-bot

Copy link
Copy Markdown
Contributor

Could not create auto-port PR.
Got conflicts when cherry-picking onto 5.0.

@chrisvest

Copy link
Copy Markdown
Member

Port to 5.0: #16914

@chrisvest chrisvest removed the needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. label Jun 4, 2026
chrisvest added a commit that referenced this pull request Jun 5, 2026
- #16881
- #16876
- #16866
- #16870
- #16837
- #16858
- #16882
- #16893

---------

Co-authored-by: Norman Maurer <norman_maurer@apple.com>
Co-authored-by: Violeta Georgieva <696661+violetagg@users.noreply.github.com>
Co-authored-by: Szymon Habrainski <56340221+schiemon@users.noreply.github.com>
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.

3 participants