Skip to content

Conversation

@ryderblue
Copy link

The StringTrim() attempts to remove whitespace at end of string but assumes that a non-empty value is present. This causes a SIGSEGV when field is empty. Fix is to add a check to the while loop and a unit test to verify fix.

@Mytherin Mytherin merged commit c66ea40 into duckdb:main Oct 24, 2023
@Mytherin
Copy link
Collaborator

Thanks for the PR! LGTM

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