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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix overflow in MemoryAllocator.Create(options) #2730

Merged
merged 3 commits into from
May 8, 2024

Conversation

antonfirsov
Copy link
Member

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules 馃懏.
  • I have provided test coverage for my change (where applicable)

Description

Fix an overlook from #2706. See 92b8277#r141770676.

@JimBobSquarePants
Copy link
Member

Thanks! We should probably backport this.

@antonfirsov
Copy link
Member Author

We should probably backport this.

Agreed. The bug renders the AllocationLimitMegabytes API pretty useless when it comes to extending the limit.

@antonfirsov antonfirsov merged commit 467850f into main May 8, 2024
5 checks passed
@antonfirsov antonfirsov deleted the af/fix-allocator-overflow branch May 8, 2024 16:01
antonfirsov added a commit that referenced this pull request May 8, 2024
antonfirsov added a commit that referenced this pull request May 8, 2024
Fix an overlook from #2706. See 92b8277#r141770676.
# Conflicts:
#	src/ImageSharp/Memory/Allocators/MemoryAllocator.cs
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.

None yet

2 participants