Commit 87159de9 authored by Jouni Malinen's avatar Jouni Malinen Committed by Dmitry Shmidt
Browse files

nl80211/cfg80211: Make addition of new sinfo fields safer



Add a comment pointing out the use of enum station_info_flags for
all new struct station_info fields. In addition, memset the sinfo
buffer to zero before use on all paths in the current tree to avoid
leaving uninitialized pointers in the data.

Signed-off-by: default avatarJouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
Signed-off-by: default avatarDmitry Shmidt <dimitrysh@google.com>
parent d692df22
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment