THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Browse Source

Restore chdir(".git")

tags/v0.99.8
H. Peter Anvin 14 years ago
parent
commit
47888f0f31
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      daemon.c

+ 2
- 0
daemon.c View File

@@ -131,6 +131,8 @@ static int upload(char *dir, int dirlen)
return -1;
}

chdir(".git");

/*
* Security on the cheap.
*


Loading…
Cancel
Save