mirror of https://git.zx2c4.com/cgit/
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 <lodatom@gmail.com>lh/pretty-blob-view
parent
c94414a4c8
commit
48434780ca
Loading…
Reference in New Issue