diff options
| author | 2017-10-13 11:40:11 +0200 | |
|---|---|---|
| committer | 2017-10-13 19:49:48 +0200 | |
| commit | 8c1a8a32438b95792bbd8719d1cd4fe36e9eba03 (patch) | |
| tree | 1284583b20609d07db7dd30ebc61c5a1b8d7327b /include/linux | |
| parent | Linux 4.14-rc4 (diff) | |
KVM: arm64: its: Fix missing dynamic allocation check in scan_its_table
We currently allocate an entry dynamically, but we never check if the
allocation actually succeeded. We actually don't need a dynamic
allocation, because we know the maximum size of an ITS table entry, so
we can simply use an allocation on the stack.
Cc: <stable@vger.kernel.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
