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
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
dot11decrypt_gcmp.c
dot11decrypt_int.h
dot11decrypt_interop.h
dot11decrypt_system.h
dot11decrypt_tkip.c
dot11decrypt_user.h
dot11decrypt_util.c
dot11decrypt_util.h
dot11decrypt_ws.h
kasumi.h
wep-wpadefs.h