diff options
| author | Pragaspathi Thilagaraj <tpragasp@codeaurora.org> | 2018-05-22 17:30:42 +0530 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-05-23 01:21:57 -0700 |
| commit | 872c8fc53304de72d025e0be4c1732b6698c9863 (patch) | |
| tree | 550de1a2c1ddedd1b2cdd70fd066afb7edc55786 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | fcc946e74c4b569f88e8a4817be8e2b69c857ba5 (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
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
