commit | b4b7aae0e18084f05982f29cbe33d1574cd771b3 | [log] [tgz] |
---|---|---|
author | Pragaspathi Thilagaraj <tpragasp@codeaurora.org> | Tue May 22 18:28:17 2018 +0530 |
committer | nshrivas <nshrivas@codeaurora.org> | Mon Jun 11 04:45:12 2018 -0700 |
tree | 858e878380e5683bc25d769a4a5408c119580497 | |
parent | 2de7d6ef8eb95191ea3cf756be75514c1a9295f5 [diff] |
qcacld-3.0: Fix possible NULL pointer dereference in lim_process_messages In the function lim_process_messages, msg is received as the argument. msg->bodyptr is accessed before checking if the msg is NULL. This can cause a NULL pointer dereference if msg is NULL. Moved the NULL check for the msg structure prior to accessing msg. Change-Id: I61fc5fc65c9604bd5a82d7e226d9a4a9c30aebd2 CRs-Fixed: 2245791