Zhongze Liu writes ("[PATCH v2] tools: fix several "format-truncation" warnings with GCC 7"): > GCC 7.1.1 complains that several buffers passed to snprintf() in > xenpmd and tools/ocmal/xc are too small to hold the largest possible > resulting string. > > enlarge the size of these buffers to fix the warnings.
This is probably a reasonable approach. But, I can't see where you got the new maximum sizes. Forgive me if I missed a mail, but I think at least the commit message should explain how each of the new sizes is calculated. Thanks, Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel