Skip to content
Commit adf1b358 authored by Sasha Levin's avatar Sasha Levin Committed by Greg Kroah-Hartman
Browse files

staging: wilc1000: off by one in wilc_wfi_cfg80211_mgmt_types



NL80211_IFTYPE_MAX represents the largest interface type number defined,
so declaring the array with that size will actually leave out the last
interface.

This causes invalid memory access whenever this array is used, which starts
happening at boot.

Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 691f1a2f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment