Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure NULL-termination of string when unescaping single-quotes (#514)
The for-loop is copying a string character by character and replacing `''` with `'` by skipping a character if the current and next one are both `'`. When this replacement doesn't occur then the target string will be filled completely without a `\0' terminator at the end of the string.
- Loading branch information