quote: Fix returning out of string pointer