[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] virsh: Fix ordering of arguments when calling vshCalloc.



On 07/04/12 14:00, Jiri Denemark wrote:
On Wed, Jul 04, 2012 at 13:30:52 +0200, Peter Krempa wrote:
On 07/04/12 12:23, Peter Krempa wrote:
In vshSnapshotListCollect() vshCalloc was called with swapped nmemb and
size argument. This caused division by zero in xalloc_oversized as the
macro doesn't expect size to be zero.
---
   tools/virsh.c |    4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)



ACK


Pushed; Thanks.

Peter


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]