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

Re: [PATCH] Fix potentially dangerous uses of mkpath and git_path

From
Alex Riesen <raa.lkml@gmail.com>
Date
Oct 27, 2008, 08:30 UTC
Message-ID
<81b0412b0810270130w6cbfc17dy444f962666cc6c9a@mail.gmail.com>
In-Reply-To
<490568F5.9060206@viscovery.net>
2008/10/27 Johannes Sixt <j.sixt@viscovery.net>:
Show 7 quoted lines
> Alex Riesen schrieb:
>> Replace them  with mksnpath/git_snpath and a local buffer
>> for the resulting string.
>
> You should describe your definition of "potentially dangerous" to save the
> reader some time.
>
Yeah. Thought it was obvious. Will do.
Previous: Johannes SixtNext: Junio C Hamano
Message 5 of 10 in “Add mksnpath and git_snpath which allow to specify the output buffer”
  1. Add mksnpath and git_snpath which allow to specify the output bufferAlex Riesen, Oct 26, 2008
  2. Fix mkpath abuse in dwim_ref and dwim_log of sha1_name.cAlex Riesen, Oct 26, 2008
  3. Fix potentially dangerous uses of mkpath and git_pathAlex Riesen, Oct 26, 2008
  4. Johannes SixtOct 27, 2008
  5. Alex RiesenOct 27, 2008
  6. Junio C HamanoOct 27, 2008
  7. Alex RiesenOct 27, 2008
  8. Junio C HamanoOct 28, 2008
  9. Alex RiesenOct 28, 2008
  10. Alex RiesenOct 28, 2008

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.