Re: [PATCH v4 00/15] Harden the sparse-checkout builtin
- From
Derrick Stolee <stolee@gmail.com>
- Date
- Feb 3, 2020, 14:09 UTC
- Message-ID
- <f28beb17-50dc-ff53-46bf-35010d48d23d@gmail.com>
- In-Reply-To
- <CABPp-BHoEgYXgzxjweWDR2BZPhLdW9wcbWzwo6N+HF2kste3WA@mail.gmail.com>
On 1/31/2020 3:36 PM, Elijah Newren wrote:
Show 8 quoted lines
> On Fri, Jan 31, 2020 at 12:16 PM Derrick Stolee via GitGitGadget >> Update in V3: >> >> * Input now uses Peff's recommended pattern: unquote C-style strings over >> stdin and otherwise do not un-escape input. > > ...and updates in V4 are? (I looked over the range-diff which > definitely helps, but a summary would still be nice.)
Sorry! I definitely should have double-checked before sending.
Updates in V4:
* Special-character checking now considers all glob characters ( '[', '*', '\\', '?' ) See Patches 8 and 13.
* Patch 10 is is now split into two (Patches 10 and 11), to properly escape patterns and to unquote C-style strings.
* The file/directory path bug reported in [1] is fixed in Patch 15.
Thanks, -Stolee
[1] https://lore.kernel.org/git/CADSBhNbbO=aq-Oo2MpzDMN2VAX4m6f9Jb-eCtVVX1NfWKE9zJw@mail.gmail.com/