On 3/25/19 1:47 PM, David Rientjes wrote:
> This ensures that the address and length provided to DBG_DECRYPT and
> DBG_ENCRYPT do not cause an overflow.
> 
> At the same time, pass the actual number of pages pinned in memory to
> sev_unpin_memory() as a cleanup.
> 
> Reported-by: Cfir Cohen <[email protected]>
> Signed-off-by: David Rientjes <[email protected]>
> ---
>   arch/x86/kvm/svm.c | 12 +++++++++---
>   1 file changed, 9 insertions(+), 3 deletions(-)
> 


Reviewed-by: Brijesh Singh <[email protected]>

thanks

Reply via email to