Skip to content
Commit 58d25626 authored by Daniel Phan's avatar Daniel Phan Committed by Johannes Berg
Browse files

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: default avatarDaniel Phan <daniel.phan36@gmail.com>
Link: https://lore.kernel.org/r/20210309204137.823268-1-daniel.phan36@gmail.com


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 0f7e90fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment