Re: [libvirt] [PATCH 2/6] qemuMigrationCookieStatisticsXMLParse: Check for retvals of virXPath*()

2016-08-04 Thread Peter Krempa
On Thu, Aug 04, 2016 at 09:47:46 +0200, Michal Privoznik wrote: > There's no critical bug fix in here, but if there's ever a bug in > our code and we send some gibberish in migration cookie, the > other side doesn't check if conversion from string to integer > was successful or not. > > Signed-off

[libvirt] [PATCH 2/6] qemuMigrationCookieStatisticsXMLParse: Check for retvals of virXPath*()

2016-08-04 Thread Michal Privoznik
There's no critical bug fix in here, but if there's ever a bug in our code and we send some gibberish in migration cookie, the other side doesn't check if conversion from string to integer was successful or not. Signed-off-by: Michal Privoznik --- src/qemu/qemu_migration.c | 80 +