diff options
| author | Chin-Ting Kuo <chin-ting.kuo@mediatek.com> | 2017-09-27 09:48:11 +0800 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2019-07-18 22:01:03 +0200 |
| commit | 8a177017a15a40228ea7fc7191f01ff943490552 (patch) | |
| tree | d5e5792d5acc590e941d305671e8a7e695de427b /include/linux/srcu.h | |
| parent | 29e035b24070b5442348817637a2c5cd153e0bcf (diff) | |
masp: fix ioctl: SEC_GET_RANDOM_ID memory check range
[Detail]
Size of RID is 16 bytes instead of 4 bytes. Instead of
using "unsigned int" as input type of _IOR(), a new struct
"sec_rid" which is 16 bytes in size is declared and used in
order to make memory access permission check range correct.
MTK-Commit-Id: 4e1c03ca23666da29bbcd024839de5ad8a3fa143
Change-Id: I892b71fb082b5b2335d29436fee1bc61cf14fc15
Signed-off-by: Chin-Ting Kuo <chin-ting.kuo@mediatek.com>
CR-Id: ALPS03523553
Feature: Vulnerability Scan
Diffstat (limited to 'include/linux/srcu.h')
0 files changed, 0 insertions, 0 deletions
