qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] hw/sparc/leon3: Don't call get_image_size() on


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] hw/sparc/leon3: Don't call get_image_size() on a NULL pointer
Date: Mon, 8 Aug 2016 14:24:28 +0100

On 5 August 2016 at 13:59, Fabien Chouteau <address@hidden> wrote:
> On 08/05/2016 12:03 PM, Peter Maydell wrote:
>> get_image_size() doesn't handle being passed a NULL pointer, so
>> avoid doing that. Spotted by the clang ub sanitizer (which notices
>> the attempt to pass NULL to open()).
>>
>
> Looks good.

Thanks; I've applied this patch to master.

-- PMM



reply via email to

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