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

2018-04-15 Thread Junio C Hamano
Ben Peart writes: > On 4/10/2018 4:17 PM, Eric Sunshine wrote: >> On Tue, Apr 10, 2018 at 2:43 PM, Ben Peart 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/out

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

2018-04-13 Thread Ben Peart
On 4/10/2018 4:17 PM, Eric Sunshine wrote: On Tue, Apr 10, 2018 at 2:43 PM, Ben Peart 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

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

2018-04-10 Thread Eric Sunshine
On Tue, Apr 10, 2018 at 2:43 PM, Ben Peart 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. > > Sign

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

2018-04-10 Thread Ben Peart
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 rather than the size of the value being printed. Signed-off-by: Ben Peart --- Notes: Base Ref: v2.17.0 Web-Diff: https://github.com/