Skip to content

quote_string handles empty string #47

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

Merged
merged 1 commit into from
Sep 16, 2019
Merged

quote_string handles empty string #47

merged 1 commit into from
Sep 16, 2019

Conversation

DvirDukhan
Copy link
Contributor

This PR fixes a bug in quote_string function.
The function addressed the first character in a string (v[0]), and cause an application crash when given an empty string.
This fix returns an empty quoted string, in case of an empty string.

@DvirDukhan DvirDukhan requested a review from swilly22 September 16, 2019 09:43
@swilly22 swilly22 merged commit 4105990 into master Sep 16, 2019
@gkorland gkorland deleted the fix_quote_string branch October 16, 2020 20:28
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