commit | f1b8d51bc839ce541b39b0307ea3cd0b5af3200d | [log] [tgz] |
---|---|---|
author | Jianmin Zhu <jianminz@codeaurora.org> | Mon Sep 03 20:08:27 2018 +0800 |
committer | nshrivas <nshrivas@codeaurora.org> | Mon Sep 17 21:29:33 2018 -0700 |
tree | 6f807e37dcf0899a57999a304060767e70439505 | |
parent | d73f4eb38a401cb152fb65ba8e07dfa5fafe41f0 [diff] |
qcacmn: Fix possible buffer overflow when extract cp stats No data length check when extract control panel stats of pdev, vdev and peer etc, may result in buffer overflow. Fixed param of cp stats indicates numbers of pdev, vdev and peer etc in cp stats. Need do length check to make sure actual tlv data length is same as expected. Change-Id: I8750d4e10048930222059897a24804e9f2c91ab5 CRs-Fixed: 2305421