commit | 8ec1dd6e02ca74b21b3c09893e0c7947b67a8792 | [log] [tgz] |
---|---|---|
author | mukul sharma <mukul@codeaurora.org> | Fri Aug 07 14:01:05 2015 +0530 |
committer | Mukul Sharma <mukul@codeaurora.org> | Sat Aug 08 16:07:21 2015 +0530 |
tree | ba75a2c2d5361041365a6eace5d711cca0659d12 | |
parent | fbc320b11c422de00303aa8ccb79d90378eedb14 [diff] |
Prima: Fix buffer overwrite problem in GETROAMSCANCONTROL 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: Ib73f73cdead8e5e68e4f9941ff7969ad0d4ec9c5 CRs-Fixed: 865514