Commit ef2e2217 authored by Vincent Donnefort's avatar Vincent Donnefort
Browse files

ANDROID: KVM: arm64: Fix hyp_alloc() upper size check



The maximum size is of an allocation is bound to the u32 type of alloc
in struct chunk_hdr.

Bug: 431949921
Bug: 357781595
Reported-by: default avatarHiroyuki Katsura <hk590@cam.ac.uk>
Change-Id: Ifedf1e778afd9c728b654ac223f5f725edc65034
Signed-off-by: default avatarVincent Donnefort <vdonnefort@google.com>
parent dfa29d07
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment