commit | ecfae9a595283ccfe1ccfe8ce719ea015f869577 | [log] [tgz] |
---|---|---|
author | Dustin Brown <dustinb@codeaurora.org> | Tue Nov 15 13:01:39 2016 -0800 |
committer | qcabuildsw <qcabuildsw@localhost> | Wed Dec 14 14:06:27 2016 -0800 |
tree | a35a9035c4d223642fdb47b4ea87813acebc7ff7 | |
parent | 69129a93077e5345f9542e8fa42f1c9262201425 [diff] |
qcacld-3.0: Fix use-after-freed when sending WMI command to FW Using a buffer after passing it to wmi_unified_cmd_send() induces a race condition that may result in a use-after-freed situation. Fix several potential use-after-freed situations when calling wmi_unified_cmd_send() by ensuring all access to a buffer is done before the call to wmi_unified_cmd_send(). Change-Id: I287487d865f3ef5386e8f8649a8bba42df5b56ac CRs-Fixed: 1090473