Merge pull request #8726 from swedishborgie/master

HDHomeRun - Fix incorrect starting offset of buffer span in CheckTunerAvailability.
pull/8727/head
Claus Vium 2 years ago committed by GitHub
commit c6e4b0b1bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -67,7 +67,7 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun
int receivedBytes = await stream.ReadAsync(buffer, cancellationToken).ConfigureAwait(false);
return VerifyReturnValueOfGetSet(buffer.AsSpan(receivedBytes), "none");
return VerifyReturnValueOfGetSet(buffer.AsSpan(0, receivedBytes), "none");
}
finally
{

Loading…
Cancel
Save