wireshark/epan/crypt
Mikael Kanstrup e4bfd8b19e dot11decrypt: Silent Coverity Scan out-of-bounds access error
Coverity Scan reports an out-of-bounds acccess on memcopy from addr1
of 802.11 mac header. This out-of-bounds access is a controlled access
knowing that addr2 and addr3 is located in memory right after addr1.
Type cast to a guint8 pointer to indicate that there's no fix length.
This should silent the Coverity Scan error reported.

Coverity CID 1460754

Change-Id: Ief2280f1b686deebf3aba74f19a5730c66d4d313
Reviewed-on: https://code.wireshark.org/review/36706
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-04-05 08:30:35 +00:00
..
CMakeLists.txt dot11decrypt: Let libgcrypt handle AES unwrap 2020-03-15 14:55:01 +00:00
CMakeListsCustom.txt.example spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
dot11decrypt.c dot11decrypt: Fix a resource leak on error path 2020-04-05 08:30:30 +00:00
dot11decrypt_ccmp.c dot11decrypt: Make ccmp_construct_aad an internal utility function 2020-03-14 07:37:31 +00:00
dot11decrypt_ccmp_compat.c dot11decrypt: Silent Coverity Scan out-of-bounds access error 2020-04-05 08:30:35 +00:00
dot11decrypt_debug.h dot11decrypt: Shorten the debug macros 2019-11-03 17:20:46 +00:00
dot11decrypt_gcmp.c ieee80211: GCMP decryption support 2020-03-14 17:53:36 +00:00
dot11decrypt_int.h ieee80211: GCMP decryption support 2020-03-14 17:53:36 +00:00
dot11decrypt_interop.h spdx: convert files with multiple licenses. 2018-03-09 12:13:23 +00:00
dot11decrypt_system.h dot11crypt_system(.h): fix Wdocumentation 2020-03-23 08:47:37 +00:00
dot11decrypt_tkip.c spdx: convert files with multiple licenses. 2018-03-09 12:13:23 +00:00
dot11decrypt_user.h ieee80211: GCMP decryption support 2020-03-14 17:53:36 +00:00
dot11decrypt_util.c dot11decrypt: Silent Coverity Scan out-of-bounds access error 2020-04-05 08:30:35 +00:00
dot11decrypt_util.h dot11decrypt: Make ccmp_construct_aad an internal utility function 2020-03-14 07:37:31 +00:00
dot11decrypt_ws.h spdx: convert files with multiple licenses. 2018-03-09 12:13:23 +00:00
kasumi.h epan: use SPDX indentifiers. 2018-02-08 19:29:45 +00:00
wep-wpadefs.h dot11decrypt: Support 384 bit long PMK 2019-11-14 08:27:37 +00:00