qcacmn: Validate num_links before accessing data
In util_parse_rv_info_from_linkinfo, accessing the array of data without validating the index of the array will cause OOB issue. Add check with the maximum size of the array before accessing the data. Change-Id: Ie8b33c83fa1cd18cfbfcb6c7a82b79ddd86e8808 CRs-Fixed: 3580821 (cherry picked from commit 151331ba)
Please register or sign in to comment