Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Bound the authenticate-post length safely
The POST length was clamped with a signed comparison, so a very large Content-Length could turn negative and slip past the limit into the fixed-size buffer.
Diffstat (limited to 'source/cgit.c')
-rw-r--r--source/cgit.c7
1 file changed, 4 insertions, 3 deletions