Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

eiriktsarpalis
Copy link
Member

@eiriktsarpalis eiriktsarpalis commented Nov 11, 2022

Fixes a reported regression from .NET 6 where the STJ async reader will skip a number of bytes from the source stream in certain cases where a BOM is included.

Should be backported to release/7.0

@ghost
Copy link

ghost commented Nov 11, 2022

Tagging subscribers to this area: @dotnet/area-system-text-json, @gregsdennis
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes a reported regression from .NET 6 where the STJ async reader will skip a number of bytes from the source stream in certain cases where a BOM is included.

Author: eiriktsarpalis
Assignees: -
Labels:

area-System.Text.Json

Milestone: -

@eiriktsarpalis eiriktsarpalis added this to the 8.0.0 milestone Nov 11, 2022
@eiriktsarpalis eiriktsarpalis added tenet-reliability Reliability/stability related issue (stress, load problems, etc.) and removed tenet-reliability Reliability/stability related issue (stress, load problems, etc.) labels Nov 11, 2022
…rialization/JsonSerializerWrapper.Reflection.cs
@eiriktsarpalis eiriktsarpalis merged commit 2b1f57e into dotnet:main Nov 11, 2022
@eiriktsarpalis eiriktsarpalis deleted the fix-bom-handling branch November 11, 2022 17:54
@eiriktsarpalis
Copy link
Member Author

/backport to release/7.0

@github-actions
Copy link
Contributor

Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/3446988329

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants