diff options
author | David Rientjes <rientjes@google.com> | 2019-03-19 15:19:56 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-17 08:38:50 +0200 |
commit | c4f103f6ac3a0ede5ec8da465db767604e647968 (patch) | |
tree | 8a73a0035099d7ec33ab5e239325de6d8a9d86ef /include/linux | |
parent | 93d60348edcbaa3ea039ba1a5913914077c175ab (diff) | |
download | linux-stable-c4f103f6ac3a0ede5ec8da465db767604e647968.tar.gz linux-stable-c4f103f6ac3a0ede5ec8da465db767604e647968.tar.bz2 linux-stable-c4f103f6ac3a0ede5ec8da465db767604e647968.zip |
kvm: svm: fix potential get_num_contig_pages overflow
commit ede885ecb2cdf8a8dd5367702e3d964ec846a2d5 upstream.
get_num_contig_pages() could potentially overflow int so make its type
consistent with its usage.
Reported-by: Cfir Cohen <cfir@google.com>
Cc: stable@vger.kernel.org
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions