Re: [PATCH v2] xenParseVif: Refactor parser

2021-03-12 Thread Michal Privoznik
On 3/11/21 5:23 PM, Peter Krempa wrote: Use g_strsplit to split the string and avoid use of stack'd strings. Signed-off-by: Peter Krempa --- src/libxl/xen_common.c | 130 + 1 file changed, 39 insertions(+), 91 deletions(-) Reviewed-by: Michal

[PATCH v2] xenParseVif: Refactor parser

2021-03-11 Thread Peter Krempa
Use g_strsplit to split the string and avoid use of stack'd strings. Signed-off-by: Peter Krempa --- src/libxl/xen_common.c | 130 + 1 file changed, 39 insertions(+), 91 deletions(-) v2: - helper variables are made const and strings are borrowed from