about summary refs log tree commit diff
path: root/tests/Makefile
diff options
context:
space:
mode:
authorMark Lodato <lodatom@gmail.com>2010-09-04 11:09:57 -0400
committerMark Lodato <lodatom@gmail.com>2010-09-04 11:11:40 -0400
commita4c58d92bfee0cf2e35ab1c5e828a6d790108a69 (patch)
tree4b6073081a04216525facaf06db956b4a08dffac /tests/Makefile
parentMerge branch 'stable' (diff)
downloadcgit-pink-a4c58d92bfee0cf2e35ab1c5e828a6d790108a69.tar.gz
cgit-pink-a4c58d92bfee0cf2e35ab1c5e828a6d790108a69.zip
use __attribute__ to catch printf format mistakes
Use "__attribute__((format (printf,N,M)))", as is done in git, do catch
mistakes in printf-style format strings.

Signed-off-by: Mark Lodato <lodatom@gmail.com>
Diffstat (limited to 'tests/Makefile')
0 files changed, 0 insertions, 0 deletions
s 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