-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
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
DataContractJsonSerializer.ReadObject throws IndexOutOfRangeException #1410
Comments
We should throw a different exception other than IndexOutOfRangeException. However, due to the issue is not reported by real world scenario, this is lower priority issue. |
@imcarolwang Another issue that your team can look into fixing. |
The program throws the same IndexOutOfRangeException when running on .NetFramework project. |
@Metalnem this does not seem to be a regression from .NET Framework. If you still need us to investigate further, please provide a repro app. |
it's OK to not fix this, but just noting that the repro app is the code above. I just ran it against 6.0 and it produced this result. |
DataContractJsonSerializer.ReadObject sometimes throws IndexOutOfRangeException. Here's the full program that reproduces this:
The stack trace:
The environment:
Found via SharpFuzz.
The text was updated successfully, but these errors were encountered: