summaryrefslogtreecommitdiff
path: root/cgitrc.5.txt
diff options
context:
space:
mode:
authorLukas Fleischer <cgit@cryptocrack.de>2013-06-04 14:47:53 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2013-08-12 19:14:10 +0000
commit50e70d32f056c20db760328774d27524648fb739 (patch)
treef11c0bfac7b63143523faaa95e713d52a7cc1cf1 /cgitrc.5.txt
parent820df9c66073b1345397642b46f1885b40b620e3 (diff)
downloadcgit-50e70d32f056c20db760328774d27524648fb739.tar
cgit-50e70d32f056c20db760328774d27524648fb739.tar.gz
cgit-50e70d32f056c20db760328774d27524648fb739.zip
Use strbuf for reading configuration files
Use struct strbuf from Git instead of fixed-size buffers to remove the limit on the length of configuration file lines and refactor read_config_line() to improve readability. Note that this also fixes a buffer overflow that existed with the original fixed-size buffer implementation. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'cgitrc.5.txt')
0 files changed, 0 insertions, 0 deletions