Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

fix: memory expansion cost could overflow #949

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

enitrat
Copy link
Contributor

@enitrat enitrat commented Sep 16, 2024

Pull Request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build-related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Resolves: #

What is the new behavior?

  • Fixes an issue where, given values high enough, offset + size could overflow
  • Used a Result to manage this issue.

Does this introduce a breaking change?

  • Yes
  • No

This change is Reviewable

@enitrat enitrat added this pull request to the merge queue Sep 17, 2024
Merged via the queue into main with commit 08311ef Sep 17, 2024
4 checks passed
@enitrat enitrat deleted the fix/memory-expansion-overflow branch September 17, 2024 08:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants