Skip to content

Directory traversal fixes

Elijah Newren via GitGitGadget git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dir: update stale description of treat_directory()dir.c+6 -70 replies
2/2dir: introduce readdir_skip_dot_and_dotdot() helperbuiltin/clean.c builtin/worktree.c diff-no-index.c +8 more+30 -450 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Directory traversal fixes

This is a resend of the final two patches of my series, as per
https://lore.kernel.org/git/[email protected]/. It will not merge cleanly unless the last two patches of en/dir-traversal-fixes are first reverted, as Junio suggested he'd be doing.

(Corrected Reviewed-by -> Signed-off-by in the first patch, minor stylistic fix for the second.)

Derrick Stolee (1):
dir: update stale description of treat_directory()

Elijah Newren (1):
dir: introduce readdir_skip_dot_and_dotdot() helper

 builtin/clean.c    |  4 +---
 builtin/worktree.c |  4 +---
 diff-no-index.c    |  5 ++---
 dir.c              | 38 ++++++++++++++++++++++----------------
 dir.h              |  2 ++
 entry.c            |  5 +----
 notes-merge.c      |  5 +----
 object-file.c      |  4 +---
 packfile.c         |  5 +----
 rerere.c           |  4 +---
 worktree.c         | 12 +++---------
 11 files changed, 36 insertions(+), 52 deletions(-)

base-commit: dd55fc0df15c338a8dbec6dec6ca6b58edc8acef
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-961%2Fnewren%2Fdirectory-traversal-fixes-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-961/newren/directory-traversal-fixes-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/961

Signature · 1 line
gitgitgadget