wlan: Fix PE issues found by static code analysis

tSirMsgQ  is of size 12 bytes and vos_msg_t is of size 16 bytes.
The issue is in function limPostMsgApi the input parameter pMsg
of type tSirMsgQ is type-casted to vos_msg_t and later
message is being copied to type-casted 12 bytes of pointer with
16 bytes of data. This can lead to memory corruption.

Fix this by making sure both of these structures are of same size
CRs-Fixed: 627600

Change-Id: I6a79e1a9b44af65f62e1107325d249ddafca711c
(cherry picked from commit c284425b1fbe2c93fa9dfb5413f2f245d3eb7d5b)
1 file changed
tree: 9ee3f7fc3a1c9907fbbe950871a61395ef013ad1
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig