You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the input chunks were cut precisely before the byte that denotes the end of a header whose length is exactly equal to the configured max header length, and everything's valid UTF-8, then this method will be called one last time with an empty input.
_headerBufferConsumed will be equal to _headerBuffer.Length, which is actually supposed to be OK when charCount is 0, since we're not actually going to write anything into the array... but since that index is outside the array, it actually throws an exception.
The text was updated successfully, but these errors were encountered:
Cursively/src/Cursively/CsvReaderVisitorWithUTF8HeadersBase.cs
Lines 473 to 478 in eaf568a
If the input chunks were cut precisely before the byte that denotes the end of a header whose length is exactly equal to the configured max header length, and everything's valid UTF-8, then this method will be called one last time with an empty input.
_headerBufferConsumed
will be equal to_headerBuffer.Length
, which is actually supposed to be OK whencharCount
is 0, since we're not actually going to write anything into the array... but since that index is outside the array, it actually throws an exception.The text was updated successfully, but these errors were encountered: