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 regex segfault in history parsing #1441

Merged
merged 2 commits into from
Feb 3, 2022

Conversation

wolfv
Copy link
Member

@wolfv wolfv commented Feb 3, 2022

One of the regex's we were using caused a segfault on Linux when running with very long strings. This switches to a simpler, more performnat parser implementation.

Really we should move to JSON for the History file, though.

@mariusvniekerk
Copy link
Contributor

maybe JSON-line instead of just JSON since it makes for appendable history

@wolfv wolfv merged commit 24c7812 into mamba-org:master Feb 3, 2022
jonashaag added a commit to jonashaag/mamba that referenced this pull request Feb 3, 2022
wolfv pushed a commit that referenced this pull request Feb 3, 2022
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