forked from luck/tmp_suning_uos_patched
f1b9dd5eb8
Previously, in the case where (gpa + len) wrapped around, the entire
region was not validated, as the comment claimed. It doesn't actually
seem that wraparound should be allowed here at all.
Furthermore, since some callers don't check the return code from this
function, it seems prudent to clear ghc->memslot in the event of an
error.
Fixes:
|
||
---|---|---|
.. | ||
kvm | ||
lib | ||
Makefile |