mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
ec495f2ab1
Pass "seg" instead of "len" when writing guest memory in kvm_clear_guest(),
as "seg" holds the number of bytes to write for the current page, while
"len" holds the total bytes remaining.
Luckily, all users of kvm_clear_guest() are guaranteed to not cross a page
boundary, and so the bug is unhittable in the current code base.
Fixes:
|
||
---|---|---|
.. | ||
kvm | ||
lib | ||
Makefile |