Skip to content
Snippets Groups Projects
Commit 713b15b3 authored by Rusty Russell's avatar Rusty Russell
Browse files

lguest: be paranoid about guest playing with device descriptors.


We can't trust the values in the device descriptor table once the
guest has booted, so keep local copies.  They could set them to
strange values then cause us to segv (they're 8 bit values, so they
can't make our pointers go too wild).

This becomes more important with the following patches which read them.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 8ebf9756
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment