diff options
| author | Tomas Bortoli <[email protected]> | 2018-07-23 17:44:04 +0200 |
|---|---|---|
| committer | Dominique Martinet <[email protected]> | 2018-08-13 09:34:58 +0900 |
| commit | f984579a01d85166ee7380204a96d978a67687a1 (patch) | |
| tree | 6921952e63cd2ec0cb11625de49fb4395e0d4ce4 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | 9f476d7c540cb57556d3cc7e78704e6cd5100f5f (diff) | |
9p: validate PDU length
This commit adds length check for the PDU size.
The size contained in the header has to match the actual size,
except for TCP (trans_fd.c) where actual length is not known ahead
and the header's length will be checked only against the validity
range.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Tomas Bortoli <[email protected]>
Reported-by: [email protected]
To: Eric Van Hensbergen <[email protected]>
To: Ron Minnich <[email protected]>
To: Latchesar Ionkov <[email protected]>
Cc: David S. Miller <[email protected]>
Signed-off-by: Dominique Martinet <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions