commit | 5eb0f37686e32bc7572fbe663219d831cd02d167 | [log] [tgz] |
---|---|---|
author | mukul sharma <mukul@codeaurora.org> | Sat Aug 08 15:41:27 2015 +0530 |
committer | Mukul Sharma <mukul@codeaurora.org> | Sat Aug 08 15:41:58 2015 +0530 |
tree | 05bb21d8bb0f0318a9628be3ff270592062dbb4f | |
parent | fbc320b11c422de00303aa8ccb79d90378eedb14 [diff] |
wlan: Fix buffer overwrite problem in GETDWELLTIME 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: I26a4a7e9af346c18d94f91fe41ea016e82007faf CRs-Fixed: 865510