diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2011-03-20 09:48:05 +0300 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-08-17 23:34:59 +0400 |
commit | 3d67f874fd94587baa38869d317d537242baa097 (patch) | |
tree | 3331e3542e15453bd724c136cb7c1c94f20774dc /drivers/gpu | |
parent | 55e131e30e6fe07ab213a4ee1cf1b662fe64d90f (diff) | |
download | linux-3d67f874fd94587baa38869d317d537242baa097.tar.xz |
rose: Add length checks to CALL_REQUEST parsing
commit e0bccd315db0c2f919e7fcf9cb60db21d9986f52 upstream.
Define some constant offsets for CALL_REQUEST based on the description
at <http://www.techfest.com/networking/wan/x25plp.htm> and the
definition of ROSE as using 10-digit (5-byte) addresses. Use them
consistently. Validate all implicit and explicit facilities lengths.
Validate the address length byte rather than either trusting or
assuming its value.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions