commit | 6d9aaff009314e3f7ccc53ac3b4830d448328f7b | [log] [tgz] |
---|---|---|
author | sheenam monga <shebala@codeaurora.org> | Mon Mar 16 11:53:23 2020 +0530 |
committer | nshrivas <nshrivas@codeaurora.org> | Thu Apr 09 15:59:30 2020 -0700 |
tree | 00cba323c0ffc1709455d1f28a49c95af70c8310 | |
parent | 812a9f0c9da2f870b5040030fbae263dc1be1313 [diff] |
qcacld-3.0: Validate number of bytes before memory allocation Currently, In function hdd_get_roam_scan_ch_cb memory is allocated for event response buffer for invalid len. Fix is to add a validation check for len before alloction of memory to avoid memory allocation for invalid len. Change-Id: I14cffdace868fc19358322c36dd2589d7845b8fa CRs-Fixed: 2640114