commit | 33942c4344279b1f762aa7fec19a983133c51346 | [log] [tgz] |
---|---|---|
author | Rakesh Pillai <pillair@codeaurora.org> | Wed May 09 11:45:38 2018 +0530 |
committer | nshrivas <nshrivas@codeaurora.org> | Tue May 15 03:21:22 2018 -0700 |
tree | 3d37832ecef216d8318e40ce7ad38ca17ede3efa | |
parent | 389e2bb77142b2bea521577e05a30127791ba353 [diff] |
qcacld-3.0: Fix Use-After-Free in ol_txrx_pdev_detach The use TAILQ_FOREACH for freeing the fw_stats list during pdev detach causes a use-after-free condition, which can lead to unexpected behavior during the driver load or unload. Fix the possible Use-after-free condition in pdev detach, by using TAILQ_FOREACH_SAFE instead of TAILQ_FOREACH for freeing the fw_stats list. CRs-Fixed: 2214520 Change-Id: I5dfcc5e3f0d2e77a5f6226eca06bc6ab1af4e643