commit | fe1e288a9138e4f3d53304b1c02ff638648c5d39 | [log] [tgz] |
---|---|---|
author | Srinivas Girigowda <c_sgirig@qca.qualcomm.com> | Tue Feb 19 17:41:56 2013 -0800 |
committer | Madan Mohan Koyyalamudi <mkoyya@codeaurora.org> | Tue Feb 26 12:49:08 2013 -0800 |
tree | 6f5e4b4f8d7475691f3f901a782365f387a188de | |
parent | 40b3c1498e8a093e461b5a37d6442152434e578b [diff] |
wlan: Array out of bound due to invalid session Id In background scanning, csrNeighborRoamIssueBgScanRequest passes CSR_SESSION_ID_INVALID(0xFF) as argument-sessionId to csrScanRequest(). In csrRoamGetConnectState roamSession points to sessions up to max 5. Invalid session id 0xFF results in page fault error. Fix this by adding session id validity check and return appropriate error status to the calling function. CRs-Fixed: 453007