summaryrefslogtreecommitdiffstats
path: root/crypto/af_alg.c
diff options
context:
space:
mode:
authorJoey Pabalinas2018-01-01 21:40:14 +0100
committerHerbert Xu2018-01-12 13:03:05 +0100
commitda1729ce4866be266575a114208c7d5350bf310d (patch)
treee7105061b52aec718ef43b9e4611ed1b8bb1d7b1 /crypto/af_alg.c
parentcrypto: chacha20 - use rol32() macro from bitops.h (diff)
downloadkernel-qcow2-linux-da1729ce4866be266575a114208c7d5350bf310d.tar.gz
kernel-qcow2-linux-da1729ce4866be266575a114208c7d5350bf310d.tar.xz
kernel-qcow2-linux-da1729ce4866be266575a114208c7d5350bf310d.zip
crypto: testmgr - change `guard` to unsigned char
When char is signed, storing the values 0xba (186) and 0xad (173) in the `guard` array produces signed overflow. Change the type of `guard` to static unsigned char to correct undefined behavior and reduce function stack usage. Signed-off-by: Joey Pabalinas <joeypabalinas@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/af_alg.c')
0 files changed, 0 insertions, 0 deletions