[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] init-dom0less: better snprintf checks
Hi Stefano, On 25.05.2022 01:35, Stefano Stabellini wrote: > From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxx> > > snprintf returns the number of characters printed. snprintf does not print anything but instead stores a composed string into a buffer. To be more correct, I would suggest to write: "snprintf returns the number of characters that would have been written to the final string if enough space had been available". > > Add a check for that in init-dom0less. > > Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxx> Apart from that: Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx> Cheers, Michal
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |