commit | c8470c80102ddcf588281bb24f10ce75ce236f2b | [log] [tgz] |
---|---|---|
author | hqu <hqu@codeaurora.org> | Mon Jan 28 21:49:56 2019 +0800 |
committer | nshrivas <nshrivas@codeaurora.org> | Wed Feb 06 11:16:34 2019 -0800 |
tree | fc3f9c85f253f46e61ec26afb8567226a8130403 | |
parent | cd0a9fdcd8a5d673fd613f6bcec52dbbc13f06ae [diff] |
qcacmn: Fix NULL pointer dereference in extract_hal_reg_cap_tlv In extract_hal_reg_cap_tlv(), field hal_reg_capabilities of param_buf may be NULL, when access field wireless_modes of hal_reg_capabilities, it will result in a NULL pointer access. Fix is to add NULL pointer check for field hal_reg_capabilities of param_buf. Change-Id: Ie2a50ce1f06f9623cc771d4d580cb5f9f25cc5d4 CRs-Fixed: 2387212