Subject: Re: [PATCH] last-modified: fix bug caused by inproper initialized memory

From: "Anders Kaseorg" <[email-masked]>
Date: Fri, 28 Nov 2025 14:20:22 -0800

On 11/28/25 12:55, Jeff King wrote:
> In the same vein, probably using "sizeof(lm->scratch->words)" is 
> better than "sizeof(eword_t)". But again, I find it an unlikely 
> detail for us to catch under the hood.

As words is a pointer, you must have meant sizeof *lm->scratch->words or 
sizeof lm->scratch->words[0].

Anders