We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
files.PutFile
file
fileInfo.Size() can be 0 so Line 25 will cause 0/0 which is
fileInfo.Size()
0
0/0
The result of a floating-point or complex division by zero is not specified beyond the IEEE-754 standard; whether a run-time panic occurs is implementation-specific. Ref: https://go.dev/ref/spec#Floating_point_operators
The division did not cause panic but the value of chucks is Inf but panic with "makechan: size out of range" in line 35.
chucks
Inf
"makechan: size out of range"
giovanni/storage/2020-08-04/file/files/range_put_file.go
Lines 20 to 35 in 5e72bd2
Related Issue: hashicorp/terraform-provider-azurerm#24171
The text was updated successfully, but these errors were encountered:
files.(Client).PutFile
2023-11-03/file/files: fixing #93 for this API version
2023-11-03/file/files
58a2d4e
Duplicate of #94 but for `2023-11-03` rather than `2020-08-04`
Merge pull request #96 from tombuildsstuff/b/files-disallow-empty-upl…
36d204c
…oads `2023-11-03/file/files`: fixing #93 for this API version
Successfully merging a pull request may close this issue.
fileInfo.Size()
can be0
so Line 25 will cause0/0
which isThe division did not cause panic but the value of
chucks
isInf
but panic with"makechan: size out of range"
in line 35.giovanni/storage/2020-08-04/file/files/range_put_file.go
Lines 20 to 35 in 5e72bd2
Related Issue: hashicorp/terraform-provider-azurerm#24171
The text was updated successfully, but these errors were encountered: