Browse Source

qcacld-3.0: Fix incomplete IE handling in dot11 unpack functions

If in dot11f_unpack functions, check for integer underflow fails,
the function returns failure but does not set the present field
of the IE. This present field of the structure is used to check
if IE is present. So even if the unpack failed the IE structure
is considered valid.

Change-Id: I8f572db43a869e48a151ea37dc5b9a2c1fe34eea
CRs-Fixed: 2246426
Naveen Rawat 6 năm trước cách đây
mục cha
commit
89e85d4f6a
2 tập tin đã thay đổi với 311 bổ sung105 xóa
  1. 1 1
      core/mac/src/include/dot11f.h
  2. 310 104
      core/mac/src/sys/legacy/src/utils/src/dot11f.c

+ 1 - 1
core/mac/src/include/dot11f.h

@@ -26,7 +26,7 @@
  *
  *
  * This file was automatically generated by 'framesc'
- * Thu May 10 17:05:13 2018 from the following file(s):
+ * Wed May 23 11:54:08 2018 from the following file(s):
  *
  * dot11f.frms
  *

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 310 - 104
core/mac/src/sys/legacy/src/utils/src/dot11f.c


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác