Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SepParser*s buffer overrun bug when column count is equal to internal capacity and new row after #109

Merged
merged 13 commits into from
Mar 10, 2024

Conversation

nietras
Copy link
Owner

@nietras nietras commented Mar 10, 2024

Fixes #108
Bug likely present since 0.4.0 when parsing multiple rows at a time was introduced.

@nietras nietras added the bug Something isn't working label Mar 10, 2024
@codecov-commenter
Copy link

codecov-commenter commented Mar 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.24%. Comparing base (da18795) to head (da98ee3).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #109      +/-   ##
==========================================
+ Coverage   99.21%   99.24%   +0.03%     
==========================================
  Files          45       45              
  Lines        3296     3327      +31     
  Branches      356      354       -2     
==========================================
+ Hits         3270     3302      +32     
+ Misses         23       22       -1     
  Partials        3        3              
Flag Coverage Δ
Debug 98.61% <100.00%> (+0.04%) ⬆️
Release 99.13% <100.00%> (+0.09%) ⬆️
macos-latest 98.88% <100.00%> (+0.04%) ⬆️
ubuntu-latest 98.88% <100.00%> (+0.07%) ⬆️
windows-latest 98.88% <100.00%> (+0.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nietras nietras changed the title Fix SepParser* buffer overrun bug when column count is equal to internal capacity and new row after (issue #108) Fix SepParser*s buffer overrun bug when column count is equal to internal capacity and new row after (issue #108) Mar 10, 2024
@nietras nietras changed the title Fix SepParser*s buffer overrun bug when column count is equal to internal capacity and new row after (issue #108) Fix SepParser*s buffer overrun bug when column count is equal to internal capacity and new row after Mar 10, 2024
@nietras nietras merged commit f8bff90 into main Mar 10, 2024
16 checks passed
@nietras nietras deleted the sepreader-issue-108 branch March 10, 2024 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Specified argument was out of the range of valid values. at nietras.SeparatedValues.SepReader.ParseNewRows()
2 participants