commit | 9f090ad8f924b52644dbb6f014427724e60178eb | [log] [tgz] |
---|---|---|
author | Vignesh Viswanathan <viswanat@codeaurora.org> | Wed Sep 27 20:33:55 2017 +0530 |
committer | snandini <snandini@codeaurora.org> | Tue Oct 03 02:38:54 2017 -0700 |
tree | 0ee0ff57bf8257434851bea404ec9eeb583c2ad1 | |
parent | 6e306f132fd37f6c3bbd45d4410754a8f86fd1e1 [diff] |
qcacld-3.0: Avoid integer overflow in wma_get_ll_stats_ext_buf Check multiple variables received from firmware used to calculate buf_len to make sure that it does not exceed the max msg size, as this buf_len is in turn used in malloc and can lead to less than required memory allocated in case of integer overflow of buf_len Change-Id: I2689873c2c5e63c83e5059563662c0c69dc659fc CRs-Fixed: 2115112