diff options
author | Arun Kumar Neelakantam <aneela@codeaurora.org> | 2016-01-27 18:46:01 +0530 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:19:02 -0700 |
commit | 6182fb00aee21aae11050c80e7ec38e996889372 (patch) | |
tree | b0d41e15d12e5a8d9f0955a7d745bf98fd412c79 /firmware/radeon | |
parent | 77f8a7593398d7a3fc105ad80873d555f8894dec (diff) |
net: ipc_router: fix leak of kernel memory to userspace
The service info structure is allocated with uninitialized memory for the
max number of services and returns the complete structure to the usersapce
resulting in the information leak if lookup operation finds less number of
services than the requested number.
Check the minimum of requested and available services and copy the minimum
information to the user-space.
CRs-Fixed: 965934
Change-Id: Ic97f875855fdc6440c1db1d8d0338ee8b03a9d0a
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
Diffstat (limited to 'firmware/radeon')
0 files changed, 0 insertions, 0 deletions