-
由 Dan Carpenter 提交于
The change from kcalloc() to kvmalloc() means that arg->nr_pages might now be large enough that the "args->nr_pages << PAGE_SHIFT" can result in an integer overflow. Fixes: b3f7931f ("xen/gntdev: switch from kcalloc() to kvcalloc()") Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Reviewed-by: NJuergen Gross <jgross@suse.com> Link: https://lore.kernel.org/r/YxDROJqu/RPvR0bi@kiliSigned-off-by: NJuergen Gross <jgross@suse.com>
e9ea0b30