summaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorAshish Kumar Dhanotiya <adhanoti@codeaurora.org>2019-12-23 15:31:06 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2020-12-23 00:34:22 -0800
commit075d8a89a7574a2a124c088f091376ddeeee004e (patch)
treeda2023372680755ed97c39d0ad9bf0da8e649912 /lib/cpu-notifier-error-inject.c
parent3c2abac79c699b884d3d8090e1d3652b01b3cc8e (diff)
qcacld-3.0: Validate assoc response IE len before copy
When host sends assoc response to supplicant, it allocates a buffer of fixed size and copies a variable length of assoc response IEs to this fixed sized buffer. There is a possibility of OOB write to the allocated buffer if the assoc response IEs length is greater than the allocated buffer size. To avoid above issue validate the assoc response IEs length with the allocated buffer size before data copy to the buffer. Change-ID: Ib12385e9ff04e5172ae8b505faf959e426fda439 CRs-Fixed: 2583124
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions