summaryrefslogtreecommitdiff
path: root/ui-clone.c
diff options
context:
space:
mode:
authorMark Lodato <lodatom@gmail.com>2010-08-27 21:02:27 -0400
committerLars Hjemli <hjemli@gmail.com>2010-08-29 17:27:40 +0200
commit48434780ca62fde84337ea1e797f642de5ca50d5 (patch)
treead6a67137124a5ae70de10dd29e84bd6bf21c6ea /ui-clone.c
parentc94414a4c8cd099f5737e8b4066693d07ce78f61 (diff)
downloadcgit-48434780ca62fde84337ea1e797f642de5ca50d5.tar.gz
cgit-48434780ca62fde84337ea1e797f642de5ca50d5.tar.bz2
cgit-48434780ca62fde84337ea1e797f642de5ca50d5.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
d>Jason A. Donenfeld1-3/+3 2017-03-20Fix compatibility with GnuPG 2.2.19Andreas Stieger2-2/+2 2017-03-01tests: fix on OSX by not using the tr hackJason A. Donenfeld3-5/+2 2017-02-26Bump version1.7Jason A. Donenfeld1-1/+1 2017-02-26Modernize makefileJason A. Donenfeld2-31/+36 2017-02-25CopyrightJason A. Donenfeld1-1/+1 2017-02-25StyleJason A. Donenfeld1-2/+2 2017-02-25git: use inner-most directoryJason A. Donenfeld2-27/+48 2017-02-25clip: sleep may require argv[0] to be sleepJason A. Donenfeld1-1/+1 2017-02-25man: document system extensionsJason A. Donenfeld1-2/+3