summaryrefslogtreecommitdiff
path: root/sha1_name.c
diff options
context:
space:
mode:
authorFrank Lichtenheld <frank@lichtenheld.de>2007-06-07 14:57:00 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-06-08 09:37:18 (GMT)
commit4890888d742e12044b1f4b89a5d10437a6371253 (patch)
tree5ce676c9858b831e5e52fa4a22be9613e6f525ed /sha1_name.c
parent225696af2ceaa2e06345954003eda742a76c4e0a (diff)
downloadgit-4890888d742e12044b1f4b89a5d10437a6371253.zip
git-4890888d742e12044b1f4b89a5d10437a6371253.tar.gz
git-4890888d742e12044b1f4b89a5d10437a6371253.tar.bz2
cvsserver: Make req_Root more critical of its input data
The path submitted with the Root request has to be absolute (cvs does it this way and it may save us some sanity checks later) If multiple roots are specified (e.g. because we use pserver authentication which will already include the root), ensure that they say all the same. Probably neither is a security risk, and neither should ever be triggered by a sane client, but when validating input data, it's better to be save than sorry. Signed-off-by: Frank Lichtenheld <frank@lichtenheld.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1_name.c')
0 files changed, 0 insertions, 0 deletions