uruk-project / Jwt

JSON Web Token implementation for .Net & .Net Core
MIT License
85 stars 11 forks source link

Avoid to call `MemoryMarshal.GetReference()` without verifying the length #454

Closed ycrumeyrolle closed 4 years ago

ycrumeyrolle commented 4 years ago

Because ReadOnlySpan<byte>.Empty cause a NullReferenceException