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>