diff options
| author | Dennis Cagle <d-cagle@codeaurora.org> | 2017-02-06 19:45:30 -0800 |
|---|---|---|
| committer | Richard Chang <dickchang@google.com> | 2017-04-24 20:05:21 +0000 |
| commit | 297f65f393bd0909372cfb63b3ed7f9dfc09efa2 (patch) | |
| tree | 88100e662c43996fe404aadf29d8956db4e6e064 /net/lapb/lapb_timer.c | |
| parent | 637b1f67ef245a1070c67bb2941b96072b677cc3 (diff) | |
crypto: msm: check length before copying to buf in _debug_stats_read
Make sure that `len` is not larger than `count` before copying data
to userspace `buf` in _debug_stats_read().
Bug: 33899710
CRs-Fixed: 1116295
Change-Id: Iafb7cfa3828653f8c28183c812797c3d9a183da1
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
Signed-off-by: Wei Wang <wvw@google.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
