qcacmn: Fix memory leak if beacon is corrupted
In case of split profile, while parsing the other segment of the non transmitted profile present in the subsequent MBSSID tag, it is possible that the beacon is corrupted where the non tx profile length has gone out of bound. In case of above scenario, the MBSSIE parsing code does not free up the memory allocated for split_prof_start before returning, which could possibly result into a memmory leak. Handling the split_profile_continue bit before non tx profile length check can avoid this situation. Change-Id: Iaa491fd2803d88759e74ca5a668dddb9f8a42708 CRs-Fixed: 3023554
Loading
Please register or sign in to comment