diff options
author | Daniel Phan <daniel.phan36@gmail.com> | 2021-03-09 12:41:36 -0800 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2021-03-16 21:20:41 +0100 |
commit | 58d25626f6f0ea5bcec3c13387b9f835d188723d (patch) | |
tree | 256b1998b86fe2e441b9d0e035b3048a10698386 /lib/mpi/mpi-mod.c | |
parent | 0f7e90faddeef53a3568f449a0c3992d77510b66 (diff) |
mac80211: Check crypto_aead_encrypt for errors
crypto_aead_encrypt returns <0 on error, so if these calls are not checked,
execution may continue with failed encrypts. It also seems that these two
crypto_aead_encrypt calls are the only instances in the codebase that are
not checked for errors.
Signed-off-by: Daniel Phan <daniel.phan36@gmail.com>
Link: https://lore.kernel.org/r/20210309204137.823268-1-daniel.phan36@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions