dotnet / dotnet-api-docs

.NET API reference documentation (.NET 5+, .NET Core, .NET Framework)
https://docs.microsoft.com/dotnet/api/
Other
725 stars 1.56k forks source link

ArgumentOutOfRange is on inputOffset and not inputBufer #10411

Closed waltiam closed 1 month ago

waltiam commented 1 month ago

Type of issue

Other (describe below)

Description

The definition for the reason the ArgumentOutOfRange exception is thrown is "inputBuffer parameter requires a non-negative number"

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.security.cryptography.tobase64transform.transformblock?view=net-8.0#system-security-cryptography-tobase64transform-transformblock(system-byte()-system-int32-system-int32-system-byte()-system-int32)

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Security.Cryptography/ToBase64Transform.xml

Document Version Independent Id

73cb004f-eba6-29ef-4f75-b0a68f3c6dee

Article author

@dotnet-bot

dotnet-policy-service[bot] commented 1 month ago

Tagging subscribers to this area: @dotnet/area-system-security, @vcsjones

vcsjones commented 1 month ago

This has been fixed and will eventually be live. Thanks for pointing it out.