forked from osmocom/wireshark
f72a33fc1c
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> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
CMakeListsCustom.txt.example | ||
dot11decrypt.c | ||
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 |