Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NET: AX.25: Check ioctl arguments to avoid overflows further down the…
… road. Very large, nonsenical arguments or use in very extreme conditions could result in integer overflows. Check ioctls arguments to avoid such overflows and return -EINVAL for too large arguments. To allow the use of AX.25 for even the most extreme setup (think packet radio to the Phase 5E mars probe) we make no further attempt to clamp the argument range. Originally reported by Fan Long <[email protected]> and a first patch was sent by Xi Wang <[email protected]>. Signed-off-by: Ralf Baechle <[email protected]> Cc: Xi Wang <[email protected]> Cc: Joerg Reuter <[email protected]> Cc: Alan Cox <[email protected]> Cc: Thomas Osterried <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information