Re: [PATCH v3] builtin/mv.c: fix possible segfault in add_slash()
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 9, 2022, 22:52 UTC
- Message-ID
- <xmqqczc4i2jq.fsf@gitster.g>
- In-Reply-To
- <20220909222736.279362-1-shaoxuan.yuan02@gmail.com>
Shaoxuan Yuan <shaoxuan.yuan02@gmail.com> writes:
> A possible segfault was introduced in c08830de41 (mv: check if > <destination> is a SKIP_WORKTREE_DIR, 2022-08-09).
This iteration looks good to me (v1 was sufficiently readable already but an extra explanation made it easier to grok).
Thanks, will queue and let's merge it to 'next'.