commit | 70f73667e0162dc4e47c4aa7c9bea11619708ea4 | [log] [tgz] |
---|---|---|
author | Sourav Mohapatra <mohapatr@codeaurora.org> | Tue Mar 31 10:47:10 2020 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Fri May 01 05:21:21 2020 -0700 |
tree | 84cedc0349904f619f611c5ff7bf4e8183969bdc | |
parent | d47ccd4c12da7cd48df5587e3312bbdedd1807f1 [diff] |
wlan: Add sanity check for data in ptt_sock_rx_nlink_msg Currently in the driver, while typecasting the skb data to local structure in function ptt_sock_proc_reg_req, there can occur a potential OOB read. The length of the data to be typecasted is not verified properly. Add a sanity check to verify that the data being typecasted is of proper size. Change-Id: Ib88477a2817649e092e25e21f948c33160dfa09b CRs-Fixed: 2559499