aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorSrinivas Girigowda <sgirigow@codeaurora.org>2016-12-12 18:45:32 -0800
committerJoey Rizzoli <joey@lineageos.org>2017-06-14 23:00:21 +0200
commit262196005747d5e8b4106e92adae3749e8686240 (patch)
treea150f635716ee7ad6a1616443179b805f693bbbf /net/lapb/lapb_timer.c
parent8e0949b61f89df3372c37d76abd28cfc8015e155 (diff)
prima: Fix array out-of-bounds & integer underflow in _iw_set_genie
'wrqu->data.length' holds the total number of IE data buffer. Add a check to make sure the number of remaining data to be read is greater than or equal to IE length. Also, advance the buffer pointer to point to the next element only if next element is present. Change-Id: Ic60f3e0650f365955dab4099eb8740e9789e00cc CRs-Fixed: 1100132
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions