diff options
author | Hook, Gary <[email protected]> | 2019-06-27 16:16:23 +0000 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2019-07-03 22:13:12 +0800 |
commit | 52393d617af7b554f03531e6756facf2ea687d2e (patch) | |
tree | 56a98bb9cd2c002ffaecbf2ff702f3d3fbd2a430 /net/lapb/lapb_subr.c | |
parent | ae400be94b84206e8344e8f10d896aeb3ea2f505 (diff) |
crypto: ccp - Validate the the error value used to index error messages
The error code read from the queue status register is only 6 bits wide,
but we need to verify its value is within range before indexing the error
messages.
Fixes: 81422badb3907 ("crypto: ccp - Make syslog errors human-readable")
Cc: <[email protected]>
Reported-by: Cfir Cohen <[email protected]>
Signed-off-by: Gary R Hook <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions