diff options
| author | Kai Liu <kaliu@codeaurora.org> | 2017-06-07 14:45:47 +0800 |
|---|---|---|
| committer | Kai Liu <kaliu@codeaurora.org> | 2017-06-07 17:12:23 +0800 |
| commit | d43cad1ba4b94c4e3c3edfa54a9a705ff8349f48 (patch) | |
| tree | 2ce41e9cd61e09f10a68ea61a7e689e775ac49ee | |
| parent | 03ce5fd7eb7abeccf9982eaa76a3027cd4c9a6ee (diff) | |
Revert "qcacld-2.0: Fix buffer overread in get oui vendor command"
This reverts commit I99291a6b5a3c9faad314f40ab7353626bb7762fb.
Change-Id: Icd1fc7256d5ba7aafd3c1c0bbc2d564a7210a37f
CRs-Fixed: 2057542
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_wext.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/CORE/HDD/src/wlan_hdd_wext.c b/CORE/HDD/src/wlan_hdd_wext.c index 2a2599e910f6..bb70a20dadc1 100644 --- a/CORE/HDD/src/wlan_hdd_wext.c +++ b/CORE/HDD/src/wlan_hdd_wext.c @@ -1671,10 +1671,6 @@ v_U8_t* wlan_hdd_get_vendor_oui_ie_ptr(v_U8_t *oui, v_U8_t oui_size, v_U8_t *ie, elem_id = ptr[0]; elem_len = ptr[1]; left -= 2; - - if (elem_len < oui_size) - return NULL; - if(elem_len > left) { hddLog(VOS_TRACE_LEVEL_FATAL, |
