commit | b1260134adb3c590dd03117af895041aa98be92b | [log] [tgz] |
---|---|---|
author | Sourav Mohapatra <mohapatr@codeaurora.org> | Tue Aug 21 14:42:55 2018 +0530 |
committer | nshrivas <nshrivas@codeaurora.org> | Mon Aug 27 04:47:41 2018 -0700 |
tree | 0420b3335eecf9a636d19a4fb7d5135541210d64 | |
parent | f0fd7d2dc08e16de9377b9ac92261faec3c7339b [diff] |
qcacld-3.0: Rectify deinit sequence leading to NULL ptr dereference In function hdd_wlan_de_init, the hdd_context is fetched via cds_get_context. This context is then NULL checked. In the failure case of this check, the hdd_context is still dereferenced which shall lead to null pointer dereference. Add proper jump statement to take care of the proper order of init and deinit Change-Id: Ied0ac42371315d0286cdcc71e6e0e10ed2ff5fa1 CRs-Fixed: 2299794