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
These immediately allocate arrays that are as big as the maximum limits requested by the caller.
The caller should be able to ask us to essentially turn off enforcement of these limits by setting the value absurdly high, without having to pay the worst-case cost every single time.
The text was updated successfully, but these errors were encountered:
We should still require val <= 0x7FEFFFFF, since bigger is completely absurd, and at least these two mainstream implementations of .NET Standard 2.0 are essentially guaranteed to fail past that point anyway, so it seems to make more sense to fail early in testing instead of when it happens in production:
Cursively/src/Cursively/CsvReaderVisitorWithUTF8HeadersBase.cs
Lines 173 to 175 in eaf568a
These immediately allocate arrays that are as big as the maximum limits requested by the caller.
The caller should be able to ask us to essentially turn off enforcement of these limits by setting the value absurdly high, without having to pay the worst-case cost every single time.
The text was updated successfully, but these errors were encountered: