[Top][All Lists]

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

Re: [Qemu-trivial] [PATCH] qed: don't pass NULL to memcpy

From: Paolo Bonzini
Subject: Re: [Qemu-trivial] [PATCH] qed: don't pass NULL to memcpy
Date: Fri, 21 Oct 2011 08:35:16 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0

On 10/20/2011 07:23 PM, Stefan Hajnoczi wrote:
On Tue, Oct 18, 2011 at 09:17:35PM +0400, Pavel Borzenkov wrote:
Spotted by Clang Analyzer

Signed-off-by: Pavel Borzenkov<address@hidden>
  block/qed.c |    6 ++++--
  1 files changed, 4 insertions(+), 2 deletions(-)

Thanks, applied to the trivial patches tree:

I think there are other places in the tree where we assume that "memcpy(dest, NULL, 0);" works.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]