summary refs log tree commit diff
path: root/port/file2c
ModeNameSize
-rw-r--r--.gitignore7log plain blame
-rw-r--r--Makefile279log plain blame
-rw-r--r--file2c.12512log plain blame
-rw-r--r--file2c.c1923log plain blame
olspan='3' class='logmsg'> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> 2018-08-03clone: fix directory traversalJason A. Donenfeld This was introduced in the initial version of this code, way back when in 2008. $ curl http://127.0.0.1/cgit/repo/objects/?path=../../../../../../../../../etc/passwd root:x:0:0:root:/root:/bin/sh ... Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Reported-by: Jann Horn <jannh@google.com> 2018-08-03config: record repo.snapshot-prefix in the per-repo configKonstantin Ryabitsev