about summary refs log tree commit diff
path: root/html.h
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 /html.h
parentt0108-patch: add 'tests_done' to end (diff)
downloadcgit-pink-48434780ca62fde84337ea1e797f642de5ca50d5.tar.gz
cgit-pink-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 'html.h')
0 files changed, 0 insertions, 0 deletions
.md?id=ca695647907b081fc741f9e4ddb8d326918bca0f&follow=1'>Add DO YOU DOUBT ME TRAITORJune McEnroe 2019-12-22Add license header to cgit CSSJune McEnroe 2019-12-22Add The Book of EttaJune McEnroe 2019-12-21Revert "Add first working version of imbox"June McEnroe 2019-12-21Add first working version of imboxJune McEnroe 2019-12-20Respect mailmap in gl pretty formatJune McEnroe 2019-12-20Set LANG in cgit filtersJune McEnroe 2019-12-20Source .editrc before applying -v or -eJune McEnroe 2019-12-20Disable signing commitsJune McEnroe 2019-12-19Ignore about-filterJune McEnroe 2019-12-19Fix matching make tags with no sourcesJune McEnroe 2019-12-19Avoid matching := assignments as tagsJune McEnroe 2019-12-18Hide line numbers when rendering mdocJune McEnroe 2019-12-18Customize cgit CSSJune McEnroe 2019-12-18Use :target rather than :focus pseudo-classJune McEnroe 2019-12-18Copy cgit auxiliary binaries properlyJune McEnroe 2019-12-18Add git.causal.agency cgit configJune McEnroe 2019-12-18Bail from hi if input is binaryJune McEnroe 2019-12-16Post "cgit setup"June McEnroe