qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v1] exec: handle NULL pointer in flatview_read_c


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v1] exec: handle NULL pointer in flatview_read_continue
Date: Fri, 10 Aug 2018 14:29:28 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 10/08/2018 12:32, Olaf Hering wrote:
> Am Fri, 10 Aug 2018 12:25:09 +0200
> schrieb Paolo Bonzini <address@hidden>:
> 
>> There are many more callers of qemu_ram_ptr_length, and none of them check 
>> the result.
> 
> So you mean that function must not return NULL?
> Or should the caller check for the result?

Either, but the former would of course be much simpler if possible.

Paolo

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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