summaryrefslogtreecommitdiff
path: root/lib/find_bit.c
diff options
context:
space:
mode:
authorTerence Ho <terenceh@codeaurora.org>2017-05-11 11:52:58 -0400
committerAndy Sun <bins@codeaurora.org>2017-05-25 12:37:28 +0800
commit2cad8aa2f2378e7445ab916e346ec6108e9b437a (patch)
treeb9f7884b180a6c2ea84931afda707d298a6f70bc /lib/find_bit.c
parent96e3d4de6da5b613fbc32f1485b2d4ce491eb4cb (diff)
msm: ais: Fix kernel overwrite GET_BUF_BY_IDX ioctl
Assign address of buf_info into ioctl_ptr. Previously we were copying first 8 bytes of buf_info (content) into ioctl_ptr. Which is dereferenced and written later causing kernel overwrite vulnerability. CRs-fixed: 2013631 Change-Id: Ia27dafe003c2c4d7a59dc2976bee2cfc15978403 Signed-off-by: Terence Ho <terenceh@codeaurora.org> Signed-off-by: Andy Sun <bins@codeaurora.org>
Diffstat (limited to 'lib/find_bit.c')
0 files changed, 0 insertions, 0 deletions