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
Eric Sunshine <sunshine@sunshineco.com>
Date
Apr 10, 2018, 20:17 UTC
Message-ID
<CAPig+cRvujJ2RmH62qnjS8asRn0wc+f-O+KA01NfFXuJDk3fog@mail.gmail.com>
In-Reply-To
<20180410184327.13896-1-benpeart@microsoft.com>
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>
Previous: Ben PeartNext: Ben Peart
Message 2 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.