No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Pragaspathi Thilagaraj 8079aa438f qcacld-3.0: Fix invalid bss descriptor length check
bss_descriptor->length is calculated as:
bss_desc->length = ie_length + sizeof(*bss_desc) -
                   sizeof(bss_desc->len)

In csr_parse_bss_description_ies(), the bss_desc length is
validated as below to return failure if ie_length is 0:
=> (bss_desc->length - sizeof(bss_desc->len)) <= ieFields_offset
Since the bss_desc->length already has the sizeof(bss_desc->len)
subtracted while it was populated.
So this could return failure, if the SSID IE length is less than
or equal to 4.

To avoid this, change the failure condition as below:
(bss_desc->length <= (ieFields_offset - sizeof(bss_desc->len))

Change-Id: Ib0af8e967c26ff0ca9a3b8c44107be4e80378e01
CRs-Fixed: 3022657
2021-09-27 06:03:40 -07:00
components qcacld-3.0: Add an INI to configure SAE auth failure timeout 2021-09-20 00:42:46 -07:00
configs qcacld-3.0: Add support to get thermal throttle stats 2021-09-17 00:18:22 -07:00
core qcacld-3.0: Fix invalid bss descriptor length check 2021-09-27 06:03:40 -07:00
os_if qcacld-3.0: Add support to get thermal throttle stats 2021-09-17 00:18:22 -07:00
uapi/linux qcacld-3.0: Define A_OFFSETOF macro 2021-06-15 01:53:28 -07:00
Android.mk qcacld-3.0: Override WLAN_PROFILE to default only if it is unset 2021-08-23 16:14:00 -07:00
Kbuild qcacld-3.0: Add support to get thermal throttle stats 2021-09-17 00:18:22 -07:00
Kconfig
Makefile
README.txt

This is CNSS WLAN Host Driver for products starting from iHelium