Skip to content

Commit

Permalink
Log invalid Pipe.Advance
Browse files Browse the repository at this point in the history
  • Loading branch information
rzikm committed May 3, 2024
1 parent c1e219a commit 234d783
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,7 @@ internal void Advance(int bytes)
{
if ((uint)bytes > (uint)_writingHeadMemory.Length)
{
System.Console.WriteLine("Out of Range exception");
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.bytes);
}

Expand Down

0 comments on commit 234d783

Please sign in to comment.