prima: Possible dereference of NULL pointer

csrNeighborRoamCandidateFoundIndHdlr calls CSR_GET_SESSION
to get pSession and further calls csrScanFlushSelectiveSsid
to start a fresh scan cycle using parameters associated to
pSession. This could results NULL pointer dereference issue
if CSR_GET_SESSION return NULL.

Fix is to validate pSession before accessing it in
csrNeighborRoamCandidateFoundIndHdlr.

Change-Id: I98221d4e61be7e52fa0cc1b77689708c98a7eeb2
CRs-Fixed: 2303686
1 file changed
tree: e654a27f1e635c3f709e5bc0c0ddc778984a4eaf
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile