wireshark/epan/crypt
João Valverde e536166b38 Fix warnings with GCC and -O3
When building with GCC 10.2.0 and optimization level 3 some new
warnings turn up. Fix them.

./epan/crypt/dot11decrypt_util.c: In function ‘dot11decrypt_derive_pmk_r0’:
../epan/crypt/dot11decrypt_util.c:308:5: error: ‘sha256_res’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  308 |     memcpy(pmk_r0_name, sha256_res, 16);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../epan/crypt/dot11decrypt_util.c: In function ‘dot11decrypt_derive_pmk_r1’:
../epan/crypt/dot11decrypt_util.c:357:5: error: ‘sha256_res’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  357 |     memcpy(pmk_r1_name, sha256_res, 16);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../wiretap/wtap_opttypes.c: In function ‘wtap_block_add_if_filter_option’:
../wiretap/wtap_opttypes.c:782:12: error: ‘*((void *)&filter_dest+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  782 |     return filter_dest;
      |            ^~~~~~~~~~~
../wiretap/wtap_opttypes.c: In function ‘wtap_block_set_if_filter_option_value’:
../wiretap/wtap_opttypes.c:782:12: error: ‘*((void *)&filter_dest+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  782 |     return filter_dest;
      |            ^~~~~~~~~~~
2021-03-03 15:15:25 +00:00
..
CMakeLists.txt CMake: Use CheckAPI's abort/termoutput with dissectors only 2021-03-01 20:59:39 +00:00
CMakeListsCustom.txt.example typo: replaceing--> replacing 2020-09-20 15:07:21 -07:00
dot11decrypt.c dot11decrypt: fix build with older GCC 2021-02-08 14:43:07 +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: Remove DEBUG_TRACE_START/END macros 2020-05-25 10:33:34 +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 dot11decrypt: Support decrypting FT initial mobility domain 2021-01-20 16:10:12 +00:00
dot11decrypt_tkip.c spdx: convert files with multiple licenses. 2018-03-09 12:13:23 +00:00
dot11decrypt_user.h dot11decrypt: Add partial FT-EAP decryption support 2021-01-20 16:10:12 +00:00
dot11decrypt_util.c Fix warnings with GCC and -O3 2021-03-03 15:15:25 +00:00
dot11decrypt_util.h dot11crypt: Fixing bug that breaks build on Windows 2021-01-20 22:15:32 +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: Add partial FT-EAP decryption support 2021-01-20 16:10:12 +00:00