Selaa lähdekoodia

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 vuotta sitten
vanhempi
sitoutus
89e85d4f6a
2 muutettua tiedostoa jossa 311 lisäystä ja 105 poistoa
  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
  *

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 310 - 104
core/mac/src/sys/legacy/src/utils/src/dot11f.c


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä