commit | 58d25626f6f0ea5bcec3c13387b9f835d188723d | [log] [tgz] |
---|---|---|
author | Daniel Phan <daniel.phan36@gmail.com> | Tue Mar 09 12:41:36 2021 -0800 |
committer | Johannes Berg <johannes.berg@intel.com> | Tue Mar 16 21:20:41 2021 +0100 |
tree | 256b1998b86fe2e441b9d0e035b3048a10698386 | |
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>