Kernel Tree For Xiaomi 11 Lite NE 5G
Go to file
Rajeev Kumar Sirasanagandla 05f1f2dc2b qcacld-3.0: Avoid integer overflow in set_wifi_test_config
While processing vendor command WIFI_TEST_CONFIG_TWT_SETUP,
in respective command handler __wlan_hdd_cfg80211_set_wifi_test_config()
there is no maximum range check of INTVL_EXP and INTVL_MANTISSA attrs
which can lead to potential integer overflow.

Also there is no check whether mandatory attrs like DURATION,
INTVL_MANTISSA etc., are present. If these mandatory attrs are
not present then driver is initializing them to zeros
which can lead to divide by zero error when calculating wake interval.

To address this, return error when mandatory attributes are not
present and add maximum range check.

Change-Id: If3ac71e1263906fdd502c77103e1fff91f65e816
CRs-Fixed: 2435728
2019-05-10 16:28:21 -07:00
components qcacld-3.0: Return error code for PMO runtime suspend failure 2019-05-09 14:27:45 -07:00
configs qcacld-3.0: Enable WLAN_FEATURE_PACKET_FILTERING 2019-05-10 01:34:32 -07:00
core qcacld-3.0: Avoid integer overflow in set_wifi_test_config 2019-05-10 16:28:21 -07:00
os_if qcacld-3.0: Update rssi when get all tdls peers 2019-04-29 04:17:25 -07:00
uapi/linux qcacld-3.0: Fix tab stop checkpatch warnings 2018-09-13 13:20:38 -07:00
Android.mk qcacld-3.0: add build flag DYNAMIC_SINGLE_CHIP 2019-04-30 22:27:24 -07:00
Kbuild qcacld-3.0: Add support for adaptive 11r 2019-05-02 08:15:49 -07:00
Kconfig qcacld-3.0: Combine all NAN related flags with WLAN_FEATURE_NAN 2019-02-04 10:44:30 -08:00
Makefile qcacld-3.0: Pass WLAN_ROOT value for make clean 2018-06-09 00:09:16 -07:00
README.txt

This is CNSS WLAN Host Driver for products starting from iHelium