diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-06-12 22:26:58 -0600 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-06-12 22:26:59 +0930 |
commit | 713b15b3781240653d2b38414da3f4567dcbcf91 (patch) | |
tree | 9b6a01f00bf4aee60548d8b8cf38458863888564 /usr | |
parent | 8ebf975608aaebd7feb33d77f07ba21a6380e086 (diff) | |
download | linux-713b15b3781240653d2b38414da3f4567dcbcf91.tar.bz2 |
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: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions