« Previous | Next » 

Revision 18e5eec4

ID18e5eec4db96a00907eb588a2b803401637c7f67

Added by Jan Kiszka over 10 years ago

kvmvapic: Catch invalid ROM size

If not caught early, a zero-length ROM will cause a NULL-pointer access
later on in patch_hypercalls when allocating a zero-length ROM copy and
trying to read from it.

CC:
Signed-off-by: Jan Kiszka <>
Signed-off-by: Paolo Bonzini <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences