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

ANDROID: KVM: arm64: Fix pKVM module symbols import



Not only the pkvm_sym::name string isn't NULL-terminated and a strcmp wouldn't stop at the upper boundary of that string. But also if that symbol is the first one of the .hyp.text section, import will fail.

Fix those both issues.

Bug: 333671007
Bug: 357781595
Bug: 448784949
Change-Id: I9204f4745f3babf6a02e52b556478daf665de245
Signed-off-by: default avatarVincent Donnefort <vdonnefort@google.com>
parent 77576625
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment