wlan: Avoid int overflow in csr_scan_save_preferred_network_found()

Add validation check on frameLength to avoid int overflow in
csr_scan_save_preferred_network_found function.

Issue: SEC-1807
Change-Id: I6bcdfb757610152bc801d5134e62dd58629d1e81
CRs-Fixed: 2232358
Signed-off-by: Gururaj Patil <gururaj.patil3@harman.com>
1 file changed