diff options
author | Cristian Stoica <cristian.stoica@freescale.com> | 2014-09-23 09:27:57 (GMT) |
---|---|---|
committer | Matthew Weigel <Matthew.Weigel@freescale.com> | 2014-12-11 18:41:00 (GMT) |
commit | 009d79e4e946ab963d70f93b7dfe74e568d3ff8f (patch) | |
tree | 3d934ed41f193780fc56833d817114c9af8208ce /drivers/crypto/caam/sg_sw_sec4.h | |
parent | 566ac91003c8a14f034b4e5a9bb92f7f8dec84aa (diff) | |
download | linux-fsl-qoriq-009d79e4e946ab963d70f93b7dfe74e568d3ff8f.tar.xz |
crypto: caam: fix array out of bound access
All arrays in question have six elements but the index is seven bits
wide. Make sure the index is bound by ARRAY_SIZE to avoid incorrect
memory accesses
Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com>
Change-Id: Ic1a65f55e9aa76dc7828021010bac8ebac75b565
Reviewed-on: http://git.am.freescale.net:8181/19802
Reviewed-by: Horia Ioan Geanta Neag <horia.geanta@freescale.com>
Reviewed-by: Mircea Pop <mircea.pop@freescale.com>
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Matthew Weigel <Matthew.Weigel@freescale.com>
Diffstat (limited to 'drivers/crypto/caam/sg_sw_sec4.h')
0 files changed, 0 insertions, 0 deletions