Re: [PATCH] tools/libs/light: Fix nic->vlan memory allocation

2024-06-20 Thread Jan Beulich
On 19.06.2024 14:57, Anthony PERARD wrote: > On Mon, May 20, 2024 at 01:08:03PM -0400, Jason Andryuk wrote: >> On 2024-05-20 12:44, Leigh Brown wrote: >>> After the following commit: >>> 3bc14e4fa4b9 ("tools/libs/light: Add vlan field to libxl_device_nic") >>> xl list -l aborts with a double free e

Re: [PATCH] tools/libs/light: Fix nic->vlan memory allocation

2024-06-19 Thread Anthony PERARD
On Mon, May 20, 2024 at 01:08:03PM -0400, Jason Andryuk wrote: > On 2024-05-20 12:44, Leigh Brown wrote: > > After the following commit: > > 3bc14e4fa4b9 ("tools/libs/light: Add vlan field to libxl_device_nic") > > xl list -l aborts with a double free error if a domain has at least > > one vif defi

Re: [PATCH] tools/libs/light: Fix nic->vlan memory allocation

2024-05-20 Thread Jason Andryuk
On 2024-05-20 12:44, Leigh Brown wrote: After the following commit: 3bc14e4fa4b9 ("tools/libs/light: Add vlan field to libxl_device_nic") xl list -l aborts with a double free error if a domain has at least one vif defined: $ sudo xl list -l free(): double free detected in tcache 2 Abort

[PATCH] tools/libs/light: Fix nic->vlan memory allocation

2024-05-20 Thread Leigh Brown
After the following commit: 3bc14e4fa4b9 ("tools/libs/light: Add vlan field to libxl_device_nic") xl list -l aborts with a double free error if a domain has at least one vif defined: $ sudo xl list -l free(): double free detected in tcache 2 Aborted Orginally, the vlan field was called vid