commit | 9d1359fa510cbf6f18dd04b34afa224f8538a697 | [log] [tgz] |
---|---|---|
author | Debasis Das <ddas@codeaurora.org> | Wed Apr 04 17:17:55 2018 +0530 |
committer | nshrivas <nshrivas@codeaurora.org> | Wed Jun 20 06:33:47 2018 -0700 |
tree | 8d892b52f4a963206acb4c4b1171be8d54e2747e | |
parent | d9e3e9189aeb1ef390dd5b51314a598a041444e7 [diff] |
qcacmn: Fix Integer Overflow Leading to Buffer Overflow wmi_buf_alloc() API expects length to be passed of type uint16_t. However, the callers pass uint32_t to it. This might result in overflow and illegal memory access thereafter. The fix is to modify the API signature accordingly. Change-Id: If09da4978d421269b884f7d3c933c49c81651475 CRs-Fixed: 2218346