Skip to content

Conversation

@jaschrep-msft
Copy link
Member

Backwards compatible int? facades on StorageTransferOptions silently ignore int overflow, producing negative length values. This change checks overflow on cast, throwing OverflowException when encountered. This brings StorageTransferOptions in line with how other int facades handle this situation.

@ghost ghost added the Storage Storage Service (Queues, Blobs, Files) label Mar 2, 2021
@jaschrep-msft jaschrep-msft merged commit 5d5a994 into Azure:master Mar 2, 2021
@jaschrep-msft jaschrep-msft deleted the transferoptions-facade-overflow branch August 3, 2022 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Storage Storage Service (Queues, Blobs, Files)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants