RE: [PATCH] VMCI: Verify PPNs before sending to device

2019-01-14 Thread Jorgen S. Hansen
[PATCH] VMCI: Verify PPNs before sending to device > > The current version of the VMCI device only supports 32 bit PPNs, so check > whether we are truncating PPNs, and fail the operation if we do. One such > check did exist, but was wrong. Another check was missing. > > Testing

[PATCH] VMCI: Verify PPNs before sending to device

2019-01-11 Thread Jorgen Hansen
The current version of the VMCI device only supports 32 bit PPNs, so check whether we are truncating PPNs, and fail the operation if we do. One such check did exist, but was wrong. Another check was missing. Testing through code modification: constructed PPN not representable by 32-bit and