summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorAshish Kumar Dhanotiya <adhanoti@codeaurora.org>2019-12-23 15:31:06 +0530
committerAshish Kumar Dhanotiya <adhanoti@codeaurora.org>2020-02-12 10:51:31 +0530
commitc35a47ea733c20a3758db939d92ab4c78f0c33c7 (patch)
treef86fc12ac6c31c02483eb7420d45f58728b566e7 /lib/mpi/mpiutil.c
parent9f738d3ab0d360d59ea7b7547d27f33a3ec92971 (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/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions