[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH for-1.4] s390-virtio: Check for NULL device in r
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [PATCH for-1.4] s390-virtio: Check for NULL device in reset hypercall |
Date: |
Fri, 25 Jan 2013 12:29:53 +0100 |
On 23.01.2013, at 10:24, Andreas Färber wrote:
> s390_virtio_bus_find_mem() may return a NULL VirtIOS390Device.
> If called with, e.g., args[0] == 0, this leads to a segfault.
> Fix this by adding error handling as done for other hypercalls.
>
> Present since baf0b55a9e57b909b1f8b0f732c0b10242867418 (Implement
> virtio reset).
>
> Cc: address@hidden
> Signed-off-by: Andreas Färber <address@hidden>
Thanks, applied to s390-next.
Alex