IndexOutOfRangeException
serializing large strings
#103155
Labels
Milestone
IndexOutOfRangeException
serializing large strings
#103155
Description
Json serializer could throw
IndexOutOfRangeException
exception on large strings serialization. Looks like string should be in 100Mb-160Mb to fail. Larger strings fail with expectedstring too big
exception.Reproduction Steps
Expected behavior
No exceptions if string size in allowed limits and
ArgumentException
when limit reached (as it happens now for strings > ~160Mb).Actual behavior
Regression?
No response
Known Workarounds
As we actually don't need such large strings serialized, we are using custom string converter which trims them to sane length.
Configuration
Runtime: 8.0.5
Arch: Windows x64
Other information
No response
The text was updated successfully, but these errors were encountered: