Re: [Xen-devel] [PATCH] tools: fix several "format-truncation" errors with GCC 7

2017-06-12 Thread Zhongze Liu
Hi Ian, Thanks for pointing out the problems. I've consulted several maintainers about this and have drafted a new patch for it (in a new [patch v2] thread). Please have a look at it. Thanks. Cheers, Zhongze Liu. 2017-06-12 20:31 GMT+08:00 Ian Jackson : > Zhongze Liu

Re: [Xen-devel] [PATCH] tools: fix several "format-truncation" errors with GCC 7

2017-06-12 Thread Ian Jackson
Zhongze Liu writes ("[PATCH] tools: fix several "format-truncation" errors with GCC 7"): > replace several snprintf with asprintf in xenpmd and tools/ocmal/xc > to fix the "format-truncation" errors caused by incorrect size of buffers. Thanks for paying attention to the quality of our code, but:

[Xen-devel] [PATCH] tools: fix several "format-truncation" errors with GCC 7

2017-06-12 Thread Zhongze Liu
replace several snprintf with asprintf in xenpmd and tools/ocmal/xc to fix the "format-truncation" errors caused by incorrect size of buffers. Signed-off-by: Zhongze Liu --- CC: David Scott CC: Ian Jackson CC: Wei Liu