commit | 07ef191b5a16f08cef8518827c3cd7a66f387b51 | [log] [tgz] |
---|---|---|
author | Sunil Ravi <sunilravi@google.com> | Tue May 17 18:01:06 2022 -0700 |
committer | Sunil Ravi <sunilravi@google.com> | Mon May 23 11:20:57 2022 -0700 |
tree | 75095e57fbf75b6d7cff973aa9d9c75cbd0d29b8 | |
parent | aff537b777f4ce0f0d41fef30981d7424b285a83 [diff] |
wifi: Clear ring bufffers on detecting buffer corruption While appending the newly received buffer to ring buffer list, check the size of the first buffer in the ring buffer list. If it is invalid(zero size or exceeding the max allowed size), return failure & clear all the ring buffers. Bug: 232477451 Test: vts test - 1.6/default/tests/runtests.sh Test: Manual - Ran basic wifi tests & checked bugreports Change-Id: Iaa41262f534914b971fe178053f1974248a46e70