commit | ec402065dbd0c61a306230c0af691b1bccdf9f56 | [log] [tgz] |
---|---|---|
author | Manjeet Singh <manjee@codeaurora.org> | Thu Oct 27 15:58:01 2016 +0530 |
committer | qcabuildsw <qcabuildsw@localhost> | Mon Nov 14 11:50:39 2016 -0800 |
tree | ebe4d2ac02e99a458b4ba5f5a6d7cf7831ce0ce4 | |
parent | 6d2641a93434ac29aaa95d378dc8160ce90b1b67 [diff] |
qcacld-3.0: Validate regulatory channels In function hdd_process_regulatory_data, array reg_channels is limited by enum value NUM_CHANNELS. But there is no check on the index to the reg_channels. This can lead to a buffer overflow situation. Prevent buffer overflow for reg_channels by checking index against NUM_CHANNELS. Change-Id: I6050e6616e9bd6365943d2aaf8fbdb53a92f17d0 CRs-Fixed: 1083028