Re: [libvirt] [PATCH] bridge: leases: Fix potential crash caused by use after free

2014-06-24 Thread Peter Krempa
On 06/24/14 14:23, Daniel P. Berrange wrote: > On Tue, Jun 24, 2014 at 01:54:42PM +0200, Peter Krempa wrote: >> Don't free individual JSON array members as the array will be freed at >> the end. This may potentially lead to a crash although it didn't crash >> on my setup. >> --- >> src/network/bri

Re: [libvirt] [PATCH] bridge: leases: Fix potential crash caused by use after free

2014-06-24 Thread Daniel P. Berrange
On Tue, Jun 24, 2014 at 01:54:42PM +0200, Peter Krempa wrote: > Don't free individual JSON array members as the array will be freed at > the end. This may potentially lead to a crash although it didn't crash > on my setup. > --- > src/network/bridge_driver.c | 4 +--- > 1 file changed, 1 insertion

Re: [libvirt] [PATCH] bridge: leases: Fix potential crash caused by use after free

2014-06-24 Thread Peter Krempa
On 06/24/14 13:54, Peter Krempa wrote: > Don't free individual JSON array members as the array will be freed at > the end. This may potentially lead to a crash although it didn't crash > on my setup. > --- > src/network/bridge_driver.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) >

[libvirt] [PATCH] bridge: leases: Fix potential crash caused by use after free

2014-06-24 Thread Peter Krempa
Don't free individual JSON array members as the array will be freed at the end. This may potentially lead to a crash although it didn't crash on my setup. --- src/network/bridge_driver.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/network/bridge_driver.c b/src/networ