diff options
| author | Shant KumarX Sonnad <[email protected]> | 2019-04-29 16:43:16 +0100 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2019-05-23 14:01:02 +0800 |
| commit | c044b62c3679fb2814fd4684fd8bb51ba38d6f3c (patch) | |
| tree | d6f03cf8b7f22486fec46785927d1d754235621b /include/linux/debugobjects.h | |
| parent | 933224985a0abdca8d60f7c4626068fbdead949f (diff) | |
crypto: qat - add check for negative offset in alg precompute function
The offset is calculated based on type of hash algorithum.
If the algorithum is invalid the offset can have negative value.
Hence added negative offset check and return -EFAULT.
Reviewed-by: Conor Mcloughlin <[email protected]>
Tested-by: Sergey Portnoy <[email protected]>
Signed-off-by: Shant KumarX Sonnad <[email protected]>
Signed-off-by: Giovanni Cabiddu <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions