commit | 2857eb20162a14a0a24279930ff4fcd95c471767 | [log] [tgz] |
---|---|---|
author | Girish Gowli <c_ggowli@qti.qualcomm.com> | Thu Jul 31 19:49:46 2014 +0530 |
committer | Satyanarayana Dash <c_sadash@qti.qualcomm.com> | Thu Aug 28 14:08:56 2014 +0530 |
tree | 21dc5ec6dca8541f54576fc987c50296bce82dd8 | |
parent | c148b7c8edf992834ec16adc9219cf5b36eac0c9 [diff] |
wlan: SME: Add NULL check for pSession value after CSR_GET_SESSION In csrRoamProcessSetKeyCommand and csrRoamProcessRemoveKeyCommand functions, CSR_GET_SESSION() returns NULL if sessionId is more than or equal to CSR_ROAM_SESSION_MAX. This may lead to dereferencing pSession initialised to NULL. Adding NULL check for pSession value after CSR_GET_SESSION(). Change-Id: I27b7e2b9806e59ca1b2e46e408e2834b0561a144 CRs-Fixed: 703677