diff options
author | Dan Carpenter <error27@gmail.com> | 2022-12-08 19:02:17 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2022-12-13 00:10:12 +0300 |
commit | 70be6f322860d322ebcd120cf0c05402ead5c6de (patch) | |
tree | 4573159ffe9b24bbdec01578a03766bd0a5b98b7 /drivers/vfio/Makefile | |
parent | fe3dd71db2b81c202bc80532bbe0e07238a45ed9 (diff) | |
download | linux-70be6f322860d322ebcd120cf0c05402ead5c6de.tar.xz |
vfio/mlx5: error pointer dereference in error handling
This code frees the wrong "buf" variable and results in an error pointer
dereference.
Fixes: 34e2f27143d1 ("vfio/mlx5: Introduce multiple loads")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Yishai Hadas <yishaih@nvidia.com>
Link: https://lore.kernel.org/r/Y5IKia5SaiVxYmG5@kili
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/Makefile')
0 files changed, 0 insertions, 0 deletions