summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAshish Kumar Dhanotiya <adhanoti@codeaurora.org>2019-12-12 14:17:03 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2020-12-23 00:32:28 -0800
commitfc7aa640df96a849516fda40412da65fffc491eb (patch)
tree25dec55f39b68dc784890b1b2560813b6c8fbdab /net/unix/af_unix.c
parent3c2abac79c699b884d3d8090e1d3652b01b3cc8e (diff)
qcacld-3.0: Validate assoc response IE len before copy
When host sends ft 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: Ife9c2071a8cc4a2918b9f349f4024478f94b2d78 CRs-Fixed: 2575144
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions