From: Mark Lodato Date: Sat, 28 Aug 2010 01:02:27 +0000 (-0400) Subject: html: fix strcpy bug in convert_query_hexchar X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/48434780ca62fde84337ea1e797f642de5ca50d5?hp=48434780ca62fde84337ea1e797f642de5ca50d5 html: fix strcpy bug in convert_query_hexchar The source and destination strings in strcpy() may not overlap. Instead, use memmove(), which allows overlap. This fixes test t0104, where 'url=foo%2bbar/tree' was being parsed improperly. Signed-off-by: Mark Lodato ---