[PATCH 08/18] insert: check folder name

2012-07-26 Thread Peter Wang
Don't accept folder names containing a ".." component, to prevent writing outside of the maildir. --- notmuch-insert.c | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/notmuch-insert.c b/notmuch-insert.c index 6398618..ee51a87 100644 ---

[PATCH 08/18] insert: check folder name

2012-07-25 Thread Peter Wang
Don't accept folder names containing a .. component, to prevent writing outside of the maildir. --- notmuch-insert.c | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/notmuch-insert.c b/notmuch-insert.c index 6398618..ee51a87 100644 ---