aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorJoey Pabalinas <[email protected]>2018-01-01 10:40:14 -1000
committerHerbert Xu <[email protected]>2018-01-12 23:03:05 +1100
commitda1729ce4866be266575a114208c7d5350bf310d (patch)
treee7105061b52aec718ef43b9e4611ed1b8bb1d7b1 /net/unix/sysctl_net_unix.c
parent7660b1fb367eb3723b48d3980451fc4f25a05021 (diff)
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 <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions