git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v1] fsmonitor: fix incorrect buffer size when printing version number

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 16, 2018, 01:00 UTC
Message-ID
<xmqqk1t8ynh6.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<2b6b2a54-8349-ea28-f752-4d752c798d5a@gmail.com>
Ben Peart <peartben@gmail.com> writes:
Show 13 quoted lines
> On 4/10/2018 4:17 PM, Eric Sunshine wrote:
>> On Tue, Apr 10, 2018 at 2:43 PM, Ben Peart <Ben.Peart@microsoft.com> wrote:
>>> This is a trivial bug fix for passing the incorrect size to snprintf() when
>>> outputing the version.  It should be passing the size of the destination buffer
>>
>> s/outputing/outputting/
>>
>>> rather than the size of the value being printed.
>>>
>>> Signed-off-by: Ben Peart <benpeart@microsoft.com>
>
> Junio, do you want a re-roll of this simple fix or can you fix the
> spelling of the commit message?
I think I already have that typofix in what is queued.
If there is anything more, I'd prefer to replace with a reroll ;-)
Thanks.
Previous: Ben Peart
Message 4 of 4 in “fsmonitor: fix incorrect buffer size when printing version number”
  1. fsmonitor: fix incorrect buffer size when printing version numberBen Peart, Apr 10, 2018
  2. Eric SunshineApr 10, 2018
  3. Ben PeartApr 13, 2018
  4. Junio C HamanoApr 16, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.