linux/drivers/crypto/caam
Dan Carpenter 6d00376ad1 crypto: caam - ARRAY_SIZE() vs sizeof()
ARRAY_SIZE() was intended here instead of sizeof().  sizeof() is four
times larger than ARRAY_SIZE().  outstr is normally 256 chars so 
printing garbage to it could overfill the buffer and corrupt memory.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2011-03-27 10:45:17 +08:00
..
caamalg.c crypto: caam - dereferencing ERR_PTR on allocation failure 2011-03-27 10:45:17 +08:00
compat.h
ctrl.c crypto: caam - standardize device tree naming convention to utilize '-vX.Y' 2011-03-27 10:45:17 +08:00
desc_constr.h
desc.h
error.c crypto: caam - ARRAY_SIZE() vs sizeof() 2011-03-27 10:45:17 +08:00
error.h
intern.h
jr.c
jr.h
Kconfig
Makefile
regs.h