627c17fae1ec5f4fbd58c25958b05ca63be6a410
Guard against proto uint32 total_length values that exceed Array.MaxLength before casting; the previous checked cast threw OverflowException (gRPC Internal) instead of the intended InvalidArgument. Adds tests for the new guard, for the null-value ArgumentNullException path, and removes the checked keyword (redundant after the guard).
Description
No description provided
Languages
Java
43.9%
C#
43.6%
Python
3.4%
Rust
3.4%
Go
2.9%
Other
2.7%