Skip to content

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
@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