aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorHaim Dreyfuss <[email protected]>2018-05-21 23:34:57 +0300
committerJohannes Berg <[email protected]>2018-05-22 10:17:52 +0200
commit5247a77ced2d3396a32679c7480e8bcd5b26e471 (patch)
tree7b1dc7be25d50bc45771666044fad90ed6ff0150 /lib/mpi/mpiutil.c
parent1d6741d86429a294f51f2773c751c8f7662e7ca2 (diff)
cfg80211: fix NULL pointer derference when querying regdb
Some drivers may call this function when regdb is not initialized yet, so we need to make sure regdb is valid before trying to access it. Make sure regdb is initialized before trying to access it in reg_query_regdb_wmm() and query_regdb(). Reported-by: Eric Biggers <[email protected]> Signed-off-by: Haim Dreyfuss <[email protected]> Signed-off-by: Luca Coelho <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions