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.
parent
c065c562
Please register or sign in to comment