Re: [patch] kvm: svm: fix potential get_num_contig_pages overflow

2019-04-05 Thread Paolo Bonzini
On 19/03/19 23:19, David Rientjes wrote: > get_num_contig_pages() could potentially overflow int so make its type > consistent with its usage. > > Reported-by: Cfir Cohen > Signed-off-by: David Rientjes > --- > arch/x86/kvm/svm.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(

Re: [patch] kvm: svm: fix potential get_num_contig_pages overflow

2019-04-04 Thread David Rientjes
On Wed, 20 Mar 2019, Singh, Brijesh wrote: > > get_num_contig_pages() could potentially overflow int so make its type > > consistent with its usage. > > > > Reported-by: Cfir Cohen > > Signed-off-by: David Rientjes > > --- > > arch/x86/kvm/svm.c | 10 +- > > 1 file changed, 5 inserti

Re: [patch] kvm: svm: fix potential get_num_contig_pages overflow

2019-03-20 Thread Singh, Brijesh
On 3/19/19 5:19 PM, David Rientjes wrote: > get_num_contig_pages() could potentially overflow int so make its type > consistent with its usage. > > Reported-by: Cfir Cohen > Signed-off-by: David Rientjes > --- > arch/x86/kvm/svm.c | 10 +- > 1 file changed, 5 insertions(+), 5 deleti

[patch] kvm: svm: fix potential get_num_contig_pages overflow

2019-03-19 Thread David Rientjes
get_num_contig_pages() could potentially overflow int so make its type consistent with its usage. Reported-by: Cfir Cohen Signed-off-by: David Rientjes --- arch/x86/kvm/svm.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c