commit | 09f8ca74ae6c2d78b2c7f6c0751ed0cbe815a3d9 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Mon Jun 08 15:55:21 2009 +0300 |
committer | Avi Kivity <avi@redhat.com> | Wed Jun 10 15:18:16 2009 +0300 |
tree | fb45101cca1b35798c61fecfc28f590f071f755b | |
parent | ac04527f7947020c5890090b2ac87af4e98d977e [diff] |
KVM: Prevent overflow in largepages calculation If userspace specifies a memory slot that is larger than 8 petabytes, it could overflow the largepages variable. Cc: stable@kernel.org Signed-off-by: Avi Kivity <avi@redhat.com>