wireshark/wsutil
Guy Harris e490f93072 wmem: don't check whether sizeof(type) is <= 0.
This should fix the cppcheck warning "The unsigned expression
'sizeof(struct _PKT_INFO)' will never be negative so it is either
pointless or an error to check if it is."

wmem_safe_mult() was only used to do an overflow-safe multiplication of
a type size and a count of elements of that type; replace it with
wmem_safe_mult_type_size(), which takes the type as the first argument,
and checks only whether the count of elements is <= 0.
2021-08-24 20:58:00 -07:00
..
wmem wmem: don't check whether sizeof(type) is <= 0. 2021-08-24 20:58:00 -07:00
.editorconfig
802_11-utils.c
802_11-utils.h
CMakeLists.txt Move LINKTYPE_WIRESHARK_UPPER_PDU definitions to a separate header. 2021-08-20 02:18:19 -07:00
adler32.c
adler32.h
base32.c
base32.h
bits_count_ones.h
bits_ctz.h
bitswap.c
bitswap.h
buffer.c
buffer.h
cfutils.c
cfutils.h
codecs.c
codecs.h
color.h
copyright_info.c
copyright_info.h
cpu_info.c
cpu_info.h
crash_info.c
crash_info.h
crc5.c
crc5.h
crc6.c
crc6.h
crc7.c
crc7.h
crc8.c
crc8.h
crc10.c
crc10.h
crc11.c
crc11.h
crc16-plain.c
crc16-plain.h
crc16.c
crc16.h
crc32.c
crc32.h
curve25519.c
curve25519.h
dot11decrypt_wep.c
eax.c
eax.h
epochs.h
exported_pdu_tlvs.h Fix some issues with Exported PDUs. 2021-08-21 02:31:45 -07:00
file_util.c
file_util.h CMake: Don't bother checking for fcntl.h or floorl. 2021-07-15 06:41:05 +00:00
filesystem.c
filesystem.h
g711.c
g711.h
getopt_long.c
getopt_long.h
glib-compat.c
glib-compat.h
inet_addr.c
inet_addr.h
inet_ipv4.h
inet_ipv6.h
interface.c
interface.h
jsmn.c
jsmn.h
json_dumper.c
json_dumper.h
mpeg-audio.c
mpeg-audio.h
netlink.h
nstime.c nstime: Fix Dead Store (found by Clang Analyzer) 2021-07-30 20:43:55 +00:00
nstime.h
os_version_info.c
os_version_info.h
pint.h
please_report_bug.c
please_report_bug.h
plugins.c
plugins.h
pow2.h
privileges.c
privileges.h
processes.h
report_message.c
report_message.h
rsa.c
rsa.h
sign_ext.h
sober128.c
sober128.h
socket.c
socket.h
str_util.c Remove duplicate format_size() function 2021-07-26 14:56:11 +00:00
str_util.h Remove duplicate format_size() function 2021-07-26 14:56:11 +00:00
strnatcmp.c
strnatcmp.h
strptime.c
strptime.h
strtoi.c
strtoi.h
tempfile.c
tempfile.h
test_wsutil.c wsutil: rename bytestring_to_str() -> bytes_to_str_punct() 2021-07-29 17:23:05 +00:00
time_util.c
time_util.h
to_str.c wsutil: rename bytestring_to_str() -> bytes_to_str_punct() 2021-07-29 17:23:05 +00:00
to_str.h wsutil: rename bytestring_to_str() -> bytes_to_str_punct() 2021-07-29 17:23:05 +00:00
type_util.c
type_util.h
unicode-utils.c
unicode-utils.h
utf8_entities.h
win32-utils.c
win32-utils.h
ws_assert.c
ws_assert.h
ws_cpuid.h
ws_mempbrk.c
ws_mempbrk.h
ws_mempbrk_int.h
ws_mempbrk_sse42.c
ws_pipe.c
ws_pipe.h
ws_roundup.h
wsgcrypt.c
wsgcrypt.h
wsgetopt.h
wsjson.c
wsjson.h
wslog.c wslog: Add function to log directly without filtering 2021-07-29 20:17:44 +01:00
wslog.h wslog: Add function to log directly without filtering 2021-07-29 20:17:44 +01:00
xtea.c
xtea.h