wireshark/epan/crypt
Elijah Conners f72a33fc1c dot11decrypt: explicitly cast *pmk_len and msk_len
In a typical setting where int is 32 bits and the type guint8 is 8 bits,
the overflow check in Dot11DecryptDerivePmkFromMsk will automatically
promote the sum of msk_len and *pmk_len to an int. Since int is 32 bits
and guint8 will always be 8 bits, the sum will never overflow.
Therefore, an explicit casting of the sum of msk_len and *pmk_len to
the type guint8 is necessary.

Signed-off-by: Elijah Conners <business@elijahpepe.com>
2022-06-03 23:13:34 +00:00
..
CMakeLists.txt libgcrypt: Require version 1.8.0 2022-04-20 21:30:21 -04:00
CMakeListsCustom.txt.example
dot11decrypt.c dot11decrypt: explicitly cast *pmk_len and msk_len 2022-06-03 23:13:34 +00:00
dot11decrypt_ccmp.c
dot11decrypt_debug.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
dot11decrypt_gcmp.c
dot11decrypt_int.h libgcrypt: Require version 1.8.0 2022-04-20 21:30:21 -04:00
dot11decrypt_interop.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
dot11decrypt_system.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
dot11decrypt_tkip.c
dot11decrypt_user.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
dot11decrypt_util.c
dot11decrypt_util.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
dot11decrypt_ws.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
kasumi.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
wep-wpadefs.h