commit | 12d5d465b192ffe14ab6b54a72288b2c8fe35947 | [log] [tgz] |
---|---|---|
author | Ratnam Rachuri <c_rrachu@qti.qualcomm.com> | Fri Aug 07 14:10:23 2015 +0530 |
committer | Satyanarayana Dash <sadash@codeaurora.org> | Fri Aug 07 19:21:20 2015 +0530 |
tree | ecf9a7d71cf8fa692021010e8261c5dfa2f7eb49 | |
parent | 51a5ad13af0f46a49765fc8946f1ed9a46c87747 [diff] |
Prima: Fix buffer overwrite problem in GETDWELLTIME qcacld-2.0 to prima propagation If (len + 1) is greater than priv_data.total_len then copy_to_user results in writing more data than the buffer can hold. Fix this by writing mininum of (len + 1) and priv_data.total_len Change-Id: Id52e85bd6b271dea4324f4e17d6f2aba0a9ecdbf CRs-Fixed: 865510