about summary refs log tree commit diff
path: root/.gitignore
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-12-03 00:39:20 +0100
committerLars Hjemli <hjemli@gmail.com>2007-12-03 00:39:20 +0100
commit2216fd6472fe183439df1a39c1c06974abc3f150 (patch)
tree063180038252f9a7116bed384aab20717e4990e4 /.gitignore
parentDefault repo description to "[no description]" (diff)
downloadcgit-pink-2216fd6472fe183439df1a39c1c06974abc3f150.tar.gz
cgit-pink-2216fd6472fe183439df1a39c1c06974abc3f150.zip
Compare string lengths when parsing the snapshot mask
We used to rely on the result from strncmp() without comparing the length of
the strings involved. Even worse, any single-character format specifier would
enable zip-format due to the optional '.'-prefix since the length of the
mask then would become zero.

Noticed-by: Evan Martin <sys@neugierig.org>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions
tc/tf/link.sh?id=34f82a21c530733393e3878ba6a4881b34a91884&follow=1'>Run tf/cfg link script with /bin/shJune McEnroe 2018-08-18Run {,s,t}up with /bin/shJune McEnroe 2018-08-18Use whence instead of typeJune McEnroe 2018-08-18Cut off path components until right prompt fitsJune McEnroe 2018-08-17Add "private" alias to source encrypted fileJune McEnroe 2018-08-17Add vim mapping to add a #includeJune McEnroe