Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Harden the request path, scan and error recovery
Diffstat (limited to 'source')
-rw-r--r--source/cache.c71
-rw-r--r--source/cache.h18
-rw-r--r--source/cgit.c177
-rw-r--r--source/cgit.h17
-rw-r--r--source/cgit.mk28
-rw-r--r--source/cmd.c2
-rw-r--r--source/cmd.h4
-rw-r--r--source/config.c2
-rw-r--r--source/filter.c56
-rw-r--r--source/filter.h10
-rw-r--r--source/html.c32
-rw-r--r--source/html.h12
-rw-r--r--source/parsing.c16
-rw-r--r--source/parsing.h6
-rw-r--r--source/scan-tree.c117
-rw-r--r--source/shared.c105
-rw-r--r--source/shared.h26
17 files changed, 508 insertions, 191 deletions