hostap/src/common
Jouni Malinen b6f961ab25 Avoid undefined behavior in pointer arithmetic in IE parsing
Reorder terms in a way that no invalid pointers are generated with
pos+len operations. end-pos is always defined (with a valid pos pointer)
while pos+len could end up pointing beyond the end pointer which would
be undefined behavior.

Signed-off-by: Jouni Malinen <j@w1.fi>
2015-10-24 21:43:54 +03:00
..
common_module_tests.c tests: Additional ieee802_11_parse_elems() module test coverage 2015-06-14 16:47:29 +03:00
defs.h Fix a typo in enum wpa_states comment 2015-08-08 23:48:33 +03:00
eapol_common.h MACsec: Add common IEEE 802.1X definitions 2014-05-09 20:05:28 +03:00
gas.c Add generic GAS request mechanism 2012-08-27 18:13:10 +03:00
gas.h Add generic GAS request mechanism 2012-08-27 18:13:10 +03:00
hw_features_common.c hw_features: Merge similar return case in check_40mhz_2g4() 2015-06-29 23:23:56 +03:00
hw_features_common.h Make check_20mhz_bss() static 2015-06-20 16:05:54 +03:00
ieee802_1x_defs.h MACsec: Add common IEEE 802.1X definitions 2014-05-09 20:05:28 +03:00
ieee802_11_common.c Avoid undefined behavior in pointer arithmetic in IE parsing 2015-10-24 21:43:54 +03:00
ieee802_11_common.h Share freq-to-channel conversion function 2015-08-03 23:55:46 +03:00
ieee802_11_defs.h Interworking: Define new ANQP-element Info IDs 2015-10-07 17:07:21 +03:00
Makefile tests: Add p2p-fuzzer 2015-04-22 11:44:19 +03:00
privsep_commands.h wpa_priv: Add authentication command and event 2015-09-05 13:21:17 +03:00
qca-vendor-attr.h Make qca-vendor.h independent of other header files 2014-04-25 11:41:36 +03:00
qca-vendor.h Add QCA vendor definitions for simultaneous offchannel 2015-10-01 01:41:46 +03:00
sae.c SAE: Reject FFC commit-element with value p-1 2015-06-27 21:20:14 +03:00
sae.h SAE: Verify that own/peer commit-scalar and COMMIT-ELEMENT are different 2015-06-23 23:10:36 +03:00
tnc.h tests: TNC testing 2014-05-17 20:05:55 +03:00
version.h Add "git describe" based version string postfix 2015-10-16 22:20:55 +03:00
wpa_common.c FT: Avoid undefined behavior in pointer arithmetic 2015-10-24 21:43:54 +03:00
wpa_common.h Fix Suite B 192-bit AKM to use proper PMK length 2015-10-14 18:43:26 +03:00
wpa_ctrl.c Android: Set ctrl_iface client socket group (AID_WIFI) separately 2015-09-24 13:15:57 +03:00
wpa_ctrl.h Indicate CTRL-EVENT-AUTH-REJECT event on authentication rejection 2015-09-05 19:11:02 +03:00
wpa_helpers.c Add wpa_ctrl helper functions for upper level functionality 2014-03-12 01:09:21 +02:00
wpa_helpers.h Add wpa_ctrl helper functions for upper level functionality 2014-03-12 01:09:21 +02:00