hostap/src/fst
Jouni Malinen cce974d367 UBSan: Define FST LLT macros without integer overflow
FST_MAX_LLT_MS definition depended on undefined behavior with unsigned
integer overflow. Avoid that and also optimize the
FST_LLT_{MS_TO_VAL,VAL_TO_MS} macros to handle larger values without
overflowing 32-bit unsigned integers.

fst_session.c:1274:52: runtime error: unsigned integer overflow: 4294967295 * 32 cannot be represented in type 'unsigned int'

Signed-off-by: Jouni Malinen <j@w1.fi>
2019-02-25 19:48:49 +02:00
..
Makefile FST: Add the Fast Session Transfer (FST) module 2015-07-16 18:26:15 +03:00
fst.c FST: Make fst_global_deinit() more robust 2016-06-13 00:37:14 +03:00
fst.h UBSan: Define FST LLT macros without integer overflow 2019-02-25 19:48:49 +02:00
fst_ctrl_aux.c FST: Get rid of gcc extensions in structure/array initialization 2016-01-15 18:40:21 +02:00
fst_ctrl_aux.h fst: Fix compile error in fst_ctrl_aux.h with C++ compilers 2018-05-21 17:47:03 +03:00
fst_ctrl_defs.h FST: Testing support 2015-07-16 18:26:16 +03:00
fst_ctrl_iface.c Silence new gcc warnings on switch statement fallthroughs 2018-05-15 20:55:17 +03:00
fst_ctrl_iface.h FST: Replace print_mb_ies() with wpa_snprintf_hex() 2015-07-18 17:23:55 +03:00
fst_defs.h FST: Fix byte order of couple of fields on big endian hosts 2016-06-23 17:46:40 +03:00
fst_group.c FST: Silence compiler warning on WPA_ASSERT 2017-01-29 18:45:29 +02:00
fst_group.h FST: Fix search for peer's "other" connection 2016-09-08 11:17:45 +03:00
fst_iface.c FST: Make FST peer connection check more permissive in hostapd 2015-11-25 17:30:59 +02:00
fst_iface.h Fix or supress various sparse warnings 2017-01-29 18:33:10 +02:00
fst_internal.h FST: Make fst_hw_mode_to_band() non-inline function 2015-07-26 18:45:14 +03:00
fst_session.c FST: Remove a bogus WPA_ASSERT() 2017-01-29 18:44:36 +02:00
fst_session.h FST: Testing support 2015-07-16 18:26:16 +03:00