Skip to content

Commit

Permalink
Restore chdir(".git")
Browse files Browse the repository at this point in the history
  • Loading branch information
H. Peter Anvin committed Sep 27, 2005
1 parent 4ae9568 commit 47888f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions daemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ static int upload(char *dir, int dirlen)
return -1;
}

chdir(".git");

/*
* Security on the cheap.
*
Expand Down

0 comments on commit 47888f0

Please sign in to comment.