Skip to content
Snippets Groups Projects
Commit ede885ec authored by David Rientjes's avatar David Rientjes Committed by Paolo Bonzini
Browse files

kvm: svm: fix potential get_num_contig_pages overflow


get_num_contig_pages() could potentially overflow int so make its type
consistent with its usage.

Reported-by: default avatarCfir Cohen <cfir@google.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarDavid Rientjes <rientjes@google.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 79a3aaa7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment