commit | 3d55b4d2c2e853e1ec77777701f2059403ee7b66 | [log] [tgz] |
---|---|---|
author | maheshkkv <maheshkkv@google.com> | Thu Mar 02 10:58:34 2023 -0800 |
committer | Mahesh KKV <maheshkkv@google.com> | Thu Mar 02 19:19:21 2023 +0000 |
tree | 22a7fda8319527764e08466cdee025dc440332b8 | |
parent | c29eef6b1b9990dbdccc50df874915239734247b [diff] |
Fix parsing zero length IE sub-elements OEM reported that framework is not responding during scan with a particular Wi-Fi 7 AP which sends corrupted link info field in multi-link operation IE. If sub-element length is zero, the loop for parsing information elements will never exit. Fix it by checking the zero length sub-element length explicitly. Bug: 271357024 Test: atest com.android.server.wifi Change-Id: I7b214a7ed9f46facc3999d521fb74ff39735f037