commit | 3c4cc29405a2e86c578d7ae2c84199131305a772 | [log] [tgz] |
---|---|---|
author | Ashish Kumar Dhanotiya <adhanoti@codeaurora.org> | Tue Jan 02 19:42:36 2018 +0530 |
committer | Anjaneedevi Kapparapu <akappara@codeaurora.org> | Thu Feb 01 15:22:50 2018 +0530 |
tree | 1fc205241291871ceded20130a7d66d992284f45 | |
parent | 86200e081fd9a8e8172a218ebddf43db05ebb09f [diff] |
qcacld-2.0: Bounds check key length in __iw_set_ap_encodeext propagation from qcacld-3.0 to qcacld-2.0 __iw_set_ap_encodeext iterates over a key buffer based on a length that may be larger than the key buffer size. Bounds check the key length before iterating over the buffer, and reject the call if the length is too large. Change-Id: I2473905500470ab6c4e83f5822949bbc9d94f5f1 CRs-Fixed: 2165803