Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wifi: mac80211: use kmemdup_array instead of kmemdup for multiple all…
…ocation Let the kmemdup_array() take care about multiplication and possible overflows. Using kmemdup_array() is more appropriate and makes the code easier to audit. Signed-off-by: Shen Lichuan <[email protected]> Reviewed-by: Michal Swiatkowski <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Johannes Berg <[email protected]>
- Loading branch information