commit | e08f4d360f5001962ad7db9a86d18e6aad42f206 | [log] [tgz] |
---|---|---|
author | Swarn Singh <swarnkum@codeaurora.org> | Mon Jan 20 13:20:30 2020 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Mar 19 22:55:38 2020 -0700 |
tree | 7dec4adb02379ca148eb107c4b7a9fb5091e92d0 | |
parent | b6ff0e3ccd7ca3b7929f8e4fd156e15aa9ba8701 [diff] |
qcwcn: Heap-buffer-overflow in register_monitor_sock() of wifi hal This changes is to avoid the buffer-overflow in register_monitor_sock() where "nreg->monsock" is getting filled with the data of length "ctrl_msg->monsock_len" without the validation of length. Address this issue by have a length check done before filling the buffer. Change-Id: I36b7ac274bd4f92eceabd5bd6534c73ae5a9ae73 CRs-Fixed: 2604404