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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address Overflow of /MaxSizeMB #2029

Merged
merged 1 commit into from
May 2, 2024

Conversation

brianrob
Copy link
Member

@brianrob brianrob commented May 2, 2024

When converting from MB to bytes, it is possible to overflow MaxSizeMB because it gets converted from MB to bytes. Cast maxSizeMB to long to avoid this.

@brianrob brianrob merged commit e2010b5 into microsoft:main May 2, 2024
5 checks passed
@brianrob brianrob deleted the dev/brianrob/maxsizemb-overflow branch May 2, 2024 16:57
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.

1 participant