git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb5109e
)
KVM: Prevent overflow in KVM_GET_SUPPORTED_CPUID
author
Avi Kivity
<avi@redhat.com>
Sun, 4 Oct 2009 14:45:13 +0000
(16:45 +0200)
committer
Avi Kivity
<avi@redhat.com>
Sun, 4 Oct 2009 15:04:16 +0000
(17:04 +0200)
The number of entries is multiplied by the entry size, which can
overflow on 32-bit hosts. Bound the entry count instead.
Reported-by: David Wagner <daw@cs.berkeley.edu>
Cc: stable@kernel.org
Signed-off-by: Avi Kivity <avi@redhat.com>
No differences found