« Previous | Next » 

Revision 492fb99c

ID492fb99c4bef274a71178f5fab9b700c469a4230

Added by Michael S. Tsirkin over 10 years ago

migration: don't segfault on invalid input

host_from_stream_offset returns NULL on error,
return error instead of trying to use that address,
to avoid segfault on invalid stream.

Signed-off-by: Michael S. Tsirkin <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences