Subject: Re: [PATCH 8/9] fsck: avoid parse_timestamp() on buffer that isn't NUL-terminated

From: Junio C Hamano <[email-masked]>
Date: Wed, 12 Nov 2025 11:36:17 -0800

Patrick Steinhardt <[email-masked]> writes:

> So this is another site that would benefit from having something like
> `git_parse_int()` with an extra parameter indicating the number of
> bytes available for parsing (and a way to disable unit factors).

It is certainly an interesting approach that would work well.