diff options
author | H. Peter Anvin <hpa@smyrno.hos.anvin.org> | 2005-09-27 08:49:40 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@smyrno.hos.anvin.org> | 2005-09-27 08:49:40 -0700 |
commit | 47888f0f3188c39e13e02ad8442c5e785d2ebcdd (patch) | |
tree | 61005dcaae75d1279d3b2231c7b59ef7e4f8d030 | |
parent | Support a modicum of path validation, and allow an export all trees option. (diff) | |
download | tgif-47888f0f3188c39e13e02ad8442c5e785d2ebcdd.tar.xz |
Restore chdir(".git")
-rw-r--r-- | daemon.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -131,6 +131,8 @@ static int upload(char *dir, int dirlen) return -1; } + chdir(".git"); + /* * Security on the cheap. * |