git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/2] Directory traversal fixes

From
Elijah Newren via GitGitGadget <gitgitgadget@gmail.com>
Date
May 27, 2021, 04:53 UTC
Message-ID
<pull.961.git.1622091237.gitgitgadget@gmail.com>

This is a resend of the final two patches of my series, as per https://lore.kernel.org/git/xmqqfsyht49j.fsf@gitster.g/. 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
-- 
gitgitgadget
Next: Elijah Newren via GitGitGadget
Message 1 of 3 in “Directory traversal fixes”
  1. 0/2 Directory traversal fixesElijah Newren via GitGitGadget, May 27, 2021
  2. 2/2 dir: introduce readdir_skip_dot_and_dotdot() helperElijah Newren via GitGitGadget, May 27, 2021
  3. 1/2 dir: update stale description of treat_directory()Derrick Stolee via GitGitGadget, May 27, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.