Re: [Xen-devel] [PATCH] gnttab: fix out of range shift count

2015-06-17 Thread Andrew Cooper
On 17/06/15 16:26, Jan Beulich wrote: > Commit 213f145114 ("gnttab: fix/adjust gnttab_transfer()") wasn't > careful enough in this regard. > > Coverity ID: 1306859 > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper > > --- a/xen/common/grant_table.c > +++ b/xen/common/grant_table.c > @@ -1

[Xen-devel] [PATCH] gnttab: fix out of range shift count

2015-06-17 Thread Jan Beulich
Commit 213f145114 ("gnttab: fix/adjust gnttab_transfer()") wasn't careful enough in this regard. Coverity ID: 1306859 Signed-off-by: Jan Beulich --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -1726,7 +1726,8 @@ gnttab_transfer( max_bitsize = domain_clamp_alloc_bitsize(