diff options
| author | Nathaniel Clark <nathaniel.l.clark@intel.com> | 2014-08-15 12:48:06 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-17 09:38:42 -0700 |
| commit | 6b2eb32e697d151ebaf52f9b0304d16f63a27b43 (patch) | |
| tree | 671a6e2d977040c22d8911122c60e5ff0f84dfac /include/linux/raid | |
| parent | d41b7b74cfab08cf7a5c07fafac474af9dd51d9c (diff) | |
staging/lustre/llite: check for integer overflow in hsm user request
Check to make sure total size of request does not overflow when
calculated. Return -1 from hur_len() if it does overflow.
Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-on: http://review.whamcloud.com/10615
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4984
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/raid')
0 files changed, 0 insertions, 0 deletions
