Re: [PATCH v4 6/8] dir: fix checks on common prefix directory
- From
Jeff King <peff@peff.net>
- Date
- Dec 20, 2019, 21:15 UTC
- Message-ID
- <20191220211525.GC2752079@coredump.intra.peff.net>
- In-Reply-To
- <xmqqlfr6anbi.fsf@gitster-ct.c.googlers.com>
On Fri, Dec 20, 2019 at 10:01:21AM -0800, Junio C Hamano wrote:
Show 7 quoted lines
> In the meantime, here is to apologize for merging the patch a bit > too early to 'next'. > > -- >8 -- > From: Junio C Hamano <gitster@pobox.com> > Date: Fri, 20 Dec 2019 09:55:53 -0800 > Subject: [PATCH] dir.c: use st_add3() for allocation size
Thanks, I think this is an easy improvement worth doing (I laid out more in my response to Elijah, but: I don't think this is exploitable, but I'd rather err on the side of caution and ease of auditing).
-Peff