summary refs log tree commit diff
path: root/git-fetch-email.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--git-fetch-email.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/git-fetch-email.sh b/git-fetch-email.sh
index ed18141..0979a46 100644
--- a/git-fetch-email.sh
+++ b/git-fetch-email.sh
@@ -1,4 +1,19 @@
 #!/bin/sh
+# Copyright (C) 2019  C. McEnroe <june@causal.agency>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
 set -u
 
 host=$(git config fetchemail.imapServer)
af5efe53690d4ef6eaf38e1549&follow=1'>Bump version.Jason A. Donenfeld Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> 2018-08-03clone: fix directory traversalJason A. Donenfeld This was introduced in the initial version of this code, way back when in 2008. $ curl http://127.0.0.1/cgit/repo/objects/?path=../../../../../../../../../etc/passwd root:x:0:0:root:/root:/bin/sh ... Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Reported-by: Jann Horn <jannh@google.com> 2018-08-03config: record repo.snapshot-prefix in the per-repo configKonstantin Ryabitsev