lkml.org 
[lkml]   [2021]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 6/9] vfio-pci/zdev: fix possible segmentation fault issue
On Mon, 1 Feb 2021 16:28:25 +0000
Max Gurtovoy <mgurtovoy@nvidia.com> wrote:

> In case allocation fails, we must behave correctly and exit with error.
>
> Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>

Fixes: e6b817d4b821 ("vfio-pci/zdev: Add zPCI capabilities to VFIO_DEVICE_GET_INFO")

Reviewed-by: Cornelia Huck <cohuck@redhat.com>

I think this should go in independently of this series.

> ---
> drivers/vfio/pci/vfio_pci_zdev.c | 4 ++++
> 1 file changed, 4 insertions(+)

\
 
 \ /
  Last update: 2021-02-01 17:59    [W:0.556 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site