On 12-Jul-19 3:04 PM, David Hunt wrote:
replace strcpy with rte_strlcpy to prevent buffer overrun With fix, attempting to use a VERY lonng vm name results in a nicely truncated 32 character name rather than a segfault: Setting VM Name to [sdfdsfsfsdffdsdsasdsadasdakjshd]Cc: [email protected] Fixes: 59287933a0bb ("examples/vm_power: add options to guest app") Signed-off-by: David Hunt <[email protected]> ---
Acked-by: Anatoly Burakov <[email protected]> -- Thanks, Anatoly

