Unverified Commit f92b03a8 authored by Andreas Loibl's avatar Andreas Loibl Committed by GitHub
Browse files

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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment