diff options
| author | Sarada Prasanna Garnayak <sgarna@codeaurora.org> | 2017-04-17 19:40:24 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-04-18 23:46:20 -0700 |
| commit | 784db7a8b0255b569fd2ab3c51c2268cb1fc9127 (patch) | |
| tree | 6354d3254158e7fbb89709acfb5b233ab93c46e1 /include/linux/fpga/fpga-mgr.h | |
| parent | ce87c901721567907d20d8c8323dec3a55ce3741 (diff) | |
wcnss: fix the buffer overflow in MAC address store sysfs
Invalid typecast in MAC address store sysfs entry method
causing device crash due to the buffer overflow.
To fix the above issue check the length of the userspace MAC
address before write. Update the datatype and parsing method
to store the userspace MAC address.
CRs-Fixed: 2034549
Change-Id: I0d4709c5b623c8333a99991c042552df1e7da923
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions
