summaryrefslogtreecommitdiff
path: root/lib/flex_array.c
diff options
context:
space:
mode:
authorJianmin Zhu <jianminz@codeaurora.org>2018-09-27 12:38:18 +0800
committernshrivas <nshrivas@codeaurora.org>2018-10-07 22:05:57 -0700
commit070695334040111046366f87d4b7508ce224e116 (patch)
treed9ec8c093a8234fe1cc88269830377b13fdbb527 /lib/flex_array.c
parent4cba2bcf8bb9a78208e31c511951152f6724471c (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
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions