wireshark/wsutil
Martin Mathieson 6ba8bd037f Some more issues identified by PVS-Studio.
/opt/SourceCode/wireshark/epan/dissectors/packet-osc.c	367	err	V562 It's odd to compare 0 or 1 with a value of 0.
/opt/SourceCode/wireshark/epan/dissectors/packet-rpc.c	960	note	V576 Incorrect format. Consider checking the eighth actual argument of the 'proto_tree_add_subtree_format' function. The SIGNED integer type argument is expected.
/opt/SourceCode/wireshark/epan/dissectors/packet-rpc.c	980	note	V576 Incorrect format. Consider checking the third actual argument of the 'proto_item_append_text' function. The SIGNED integer type argument is expected.
/opt/SourceCode/wireshark/epan/dissectors/packet-rpc.c	2473	note	V576 Incorrect format. Consider checking the fourth actual argument of the 'col_prepend_fstr' function. The SIGNED integer type argument is expected.
/opt/SourceCode/wireshark/epan/dissectors/packet-rpc.c	2482	note	V576 Incorrect format. Consider checking the fourth actual argument of the 'col_append_fstr' function. The SIGNED integer type argument is expected.
/opt/SourceCode/wireshark/epan/dissectors/packet-rpc.c	2633	note	V576 Incorrect format. Consider checking the fourth actual argument of the 'col_append_fstr' function. The SIGNED integer type argument is expected.
/opt/SourceCode/wireshark/epan/dissectors/packet-rpc.c	2650	note	V576 Incorrect format. Consider checking the fourth actual argument of the 'col_prepend_fstr' function. The SIGNED integer type argument is expected.
/opt/SourceCode/wireshark/epan/dissectors/packet-stun.c	565	warn	V1051 Consider checking for misprints. It's possible that the 'reported_length' should be checked here.
/opt/SourceCode/wireshark/epan/dissectors/packet-umts_fp.c	4126	warn	V1051 Consider checking for misprints. It's possible that the 'reported_length' should be checked here.
/opt/SourceCode/wireshark/epan/dissectors/packet-umts_fp.c	4942	warn	V1051 Consider checking for misprints. It's possible that the 'reported_length' should be checked here.
/opt/SourceCode/wireshark/ui/voip_calls.c	1444	err	V773 The 'comment' pointer was assigned values twice without releasing the memory. A memory leak is possible.
/opt/SourceCode/wireshark/wsutil/filesystem.c	1531	err	V773 The function was exited without releasing the 'files' pointer. A memory leak is possible.
/opt/SourceCode/wireshark/wsutil/filesystem.c	1717	err	V773 The function was exited without releasing the 'files' pointer. A memory leak is possible.

Bug: 16335
Change-Id: I8df3ba6d070823dcb43c4152d9156358f701e8dc
Reviewed-on: https://code.wireshark.org/review/37069
Petri-Dish: Guy Harris <gharris@sonic.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@sonic.net>
2020-05-03 19:04:30 +00:00
..
.editorconfig HTTPS In Even More Places, update some links. 2019-07-28 04:21:18 +00:00
CMakeLists.txt Put various epoch time deltas into wsutil/epochs.h. 2020-01-21 23:37:05 +00:00
adler32.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
adler32.h
base32.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
base32.h
bits_count_ones.h HTTPS In Still More Places, update more URLs. 2019-07-27 22:56:35 +00:00
bits_ctz.h
bitswap.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
bitswap.h
buffer.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
buffer.h Fix function declaration of ws_buffer_length(). 2018-05-04 02:26:31 +00:00
cfutils.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
cfutils.h
codecs.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
codecs.h codecs API: Added description of API usage 2019-12-30 15:41:00 +00:00
color.h HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
copyright_info.c Happy New Year 2020 2020-01-01 08:57:21 +00:00
copyright_info.h
cpu_info.c wsutil: Strip the processor brand string. 2020-02-15 11:11:50 +00:00
cpu_info.h
crash_info.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
crash_info.h Clean up REPORT_DISSECTOR_BUG(). 2018-03-25 23:49:35 +00:00
crc5.c USBLL: Verify Token/Split packets CRC-5 2019-07-29 20:49:09 +00:00
crc5.h USBLL: Verify Token/Split packets CRC-5 2019-07-29 20:49:09 +00:00
crc6.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
crc6.h CRC6: Fixed CRC lookup table and functions 2019-01-04 06:04:07 +00:00
crc7.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
crc7.h
crc8.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
crc8.h
crc10.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
crc10.h
crc11.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
crc11.h
crc16-plain.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
crc16-plain.h
crc16.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
crc16.h USBLL: Verify DATA packets CRC-16 2019-07-25 08:58:13 +00:00
crc32.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
crc32.h Rename airpdcap to dot11decrypt. 2018-02-24 11:56:18 +00:00
curve25519.c wsutil: fix build failure of Debian packages on Ubuntu 16.04 2019-06-30 13:07:43 +00:00
curve25519.h wsutil: fix build failure of Debian packages on Ubuntu 16.04 2019-06-30 13:07:43 +00:00
dot11decrypt_wep.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
eax.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
eax.h
epochs.h Put various epoch time deltas into wsutil/epochs.h. 2020-01-21 23:37:05 +00:00
file_util.c MSVC: Warn about unused formal parameters 2019-09-21 08:51:34 +00:00
file_util.h Dumpcap: Set a bigger IO buffer (64KiB). 2019-03-10 12:34:55 +00:00
filesystem.c Some more issues identified by PVS-Studio. 2020-05-03 19:04:30 +00:00
filesystem.h Revert "CMake: Don't install HTML manuals twice" 2019-10-10 15:58:41 +00:00
frequency-utils.c
frequency-utils.h
g711.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
g711.h
getopt_long.c MSVC: Warn about unused formal parameters 2019-09-21 08:51:34 +00:00
getopt_long.h
inet_addr.c wsutil: fix compilation on freebsd. 2018-05-28 21:40:18 +00:00
inet_addr.h wsutil: fix WS_INET_ADDRSTRLEN definition on Windows 2018-05-11 18:24:15 +00:00
inet_ipv4.h
inet_ipv6.h
interface.c Eliminate some unneeded header checks. 2018-05-16 22:03:09 +00:00
interface.h
jsmn.c
jsmn.h
json_dumper.c json_dumper: flush dumper before printing an error. 2019-03-22 22:30:24 +00:00
json_dumper.h json_dumper: add json_dumper_value_double 2019-02-11 05:09:58 +00:00
mpeg-audio.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
mpeg-audio.h
netlink.h HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
nstime.c Put various epoch time deltas into wsutil/epochs.h. 2020-01-21 23:37:05 +00:00
nstime.h nstime: make declaration arg order match definition 2020-03-25 09:55:40 +00:00
os_version_info.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
os_version_info.h Windows: Fetch our version using RtlGetVersion. 2018-06-26 20:30:02 +00:00
pint.h HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
please_report_bug.c Try this - it might be clearer. 2020-01-05 02:04:08 +00:00
please_report_bug.h Add routines to return "Please report this as a bug" message strings. 2019-03-24 04:48:12 +00:00
plugins.c Use g_hash_table_replace() when key depends on data 2019-08-28 03:51:32 +00:00
plugins.h
pow2.h
privileges.c Eliminate some unneeded header checks. 2018-05-16 22:03:09 +00:00
privileges.h
processes.h
report_message.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
report_message.h
rsa.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
rsa.h
sign_ext.h
sober128.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
sober128.h
socket.c Include <string.h>. 2019-11-11 20:22:06 +00:00
socket.h wsutil: add netinet/in.h to socket.h. 2019-11-12 19:17:46 +00:00
str_util.c Add format_size_wmem 2019-12-02 05:01:16 +00:00
str_util.h Add format_size_wmem 2019-12-02 05:01:16 +00:00
strnatcmp.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
strnatcmp.h
strptime.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
strptime.h
strtoi.c Add ws_strtoi() and ws_strtoui() routines and use them. 2020-02-25 08:27:52 +00:00
strtoi.h Add ws_strtoi() and ws_strtoui() routines and use them. 2020-02-25 08:27:52 +00:00
tempfile.c wsutil: Replace disallowed filename characters to '-' 2020-01-06 21:35:09 +00:00
tempfile.h tempfile(.h): fix -Wdocumentation 2020-03-23 08:47:50 +00:00
time_util.c Put various epoch time deltas into wsutil/epochs.h. 2020-01-21 23:37:05 +00:00
time_util.h
type_util.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
type_util.h
unicode-utils.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
unicode-utils.h Bring back arg_list_utf_16to8(), but have it just do UTF-16-to-UTF-8 mapping. 2018-10-08 03:05:45 +00:00
utf8_entities.h
win32-utils.c HTTPS In Still More Places, update more URLs. 2019-07-27 22:56:35 +00:00
win32-utils.h Remove ABI compliance checker code. 2019-07-21 15:54:41 +00:00
ws_cpuid.h Tweak ws_cpuid so that Valgrind is happy. 2018-04-05 07:34:01 +00:00
ws_mempbrk.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
ws_mempbrk.h
ws_mempbrk_int.h
ws_mempbrk_sse42.c ws_mempbrk_sse42: use same var names. 2019-01-04 11:33:32 +00:00
ws_pipe.c Win32: Fix a return value check. 2019-10-03 20:56:07 +00:00
ws_pipe.h HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
ws_printf.h Try to discourage the use of APIs via counting. 2018-09-19 16:07:03 +00:00
wsgcrypt.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
wsgcrypt.h ieee80211: Support decrypting WPA3-Personal / SAE captures 2019-03-21 12:13:58 +00:00
wsgetopt.h
wsjson.c wsjson.c: do not leak memory when checking input buffer in json_validate() 2019-09-06 08:42:24 +00:00
wsjson.h NGAP: fix dissection of N2 Information Content 2019-06-16 11:30:24 +00:00
xtea.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
xtea.h HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00