Skip to content

fix infinite loop for zinc parsing - #38

Merged
garethj2 merged 3 commits into
masterfrom
bugfix/zinc-infinite-loop
Mar 29, 2026
Merged

garethj2 merged 3 commits into
masterfrom
bugfix/zinc-infinite-loop

Conversation

@garethj2

Copy link
Copy Markdown
Contributor

Zinc parsing: bug fixes from code review

  • Fix incorrect \b and \f string escape byte values
  • Fix panic on row with more values than columns
  • Fix parse failure when last grid column has metadata
  • Fix column silently dropped when metadata parse returns empty dict
  • Fix is_unit_char off-by-one excluding leading UTF-8 byte 0x80
  • Fixed dict rss compare for non-linux systems

@garethj2
garethj2 requested a review from rracariu March 28, 2026 07:17
@garethj2 garethj2 self-assigned this Mar 28, 2026
@rracariu

Copy link
Copy Markdown
Contributor

The PR mentions more changes, is this complete?

@garethj2

Copy link
Copy Markdown
Contributor Author

@rracariu yes it's complete now. I was just pushing some further changes. You should see them now. Let me know if they're ok with you. Thank you!

@rracariu

Copy link
Copy Markdown
Contributor

approved!

@garethj2
garethj2 merged commit 1790d3b into master Mar 29, 2026
8 checks passed
@garethj2
garethj2 deleted the bugfix/zinc-infinite-loop branch March 29, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants