wireshark/wsutil
Guy Harris 5e019c6b8f Use ws_basetostru32(), rather than strtoul(), when parsing ranges.
Make ws_basetostru32(), and the other ws_baseto... routines, public, and
use ws_basetostru32() when parsing ranges, to detect additional errors
such as negative values.

Addresses part of
https://ask.wireshark.org/question/5538/preference-range/.

Change-Id: I00fac97a198a237b01b5cd9406ea32c220f80972
Reviewed-on: https://code.wireshark.org/review/30266
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-10-19 20:30:53 +00:00
..
.editorconfig
CMakeLists.txt wsutil: get_datafile_dir: avoid hard-coded build directory 2018-10-03 03:49:16 +00: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
clopts_common.c
clopts_common.h
cmdarg_err.c
cmdarg_err.h
color.h
copyright_info.c
copyright_info.h
cpu_info.c
cpu_info.h
crash_info.c
crash_info.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 wsutil: Add Curve25519 ECDH (X25519) using Gcrypt 2018-08-08 11:23:55 +00:00
curve25519.h wsutil: Add Curve25519 ECDH (X25519) using Gcrypt 2018-08-08 11:23:55 +00:00
dot11decrypt_wep.c
eax.c
eax.h
file_util.c
file_util.h If we have fseek/ftell variants with 64-bit offsets, use them. 2018-07-20 23:13:08 +00:00
filesystem.c wsutil: Add config_file_exists_with_entries() 2018-10-11 12:33:05 +00:00
filesystem.h wsutil: Add config_file_exists_with_entries() 2018-10-11 12:33:05 +00:00
frequency-utils.c
frequency-utils.h
g711.c
g711.h
getopt_long.c
getopt_long.h
inet_addr.c wsutil: fix compilation on freebsd. 2018-05-28 21:40:18 +00:00
inet_addr.h
inet_ipv4.h
inet_ipv6.h
interface.c
interface.h
jsmn.c
jsmn.h
mpeg-audio.c
mpeg-audio.h
netlink.h
nstime.c
nstime.h Add macros to initialize nstime_t values and use them. 2018-06-28 03:39:54 +00:00
os_version_info.c Add Windows 10 Release ID to About info 2018-06-27 03:17:35 +00:00
os_version_info.h Windows: Fetch our version using RtlGetVersion. 2018-06-26 20:30:02 +00:00
pint.h Update a comment to reflect current reality. 2018-07-03 05:37:06 +00:00
plugins.c plugins: Minor interface improvement 2018-08-21 19:56:12 +00:00
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.h
str_util.c
str_util.h
strnatcmp.c
strnatcmp.h
strptime.c
strptime.h
strtoi.c Use ws_basetostru32(), rather than strtoul(), when parsing ranges. 2018-10-19 20:30:53 +00:00
strtoi.h Use ws_basetostru32(), rather than strtoul(), when parsing ranges. 2018-10-19 20:30:53 +00:00
tempfile.c
tempfile.h
time_util.c Try to discourage the use of APIs via counting. 2018-09-19 16:07:03 +00:00
time_util.h
type_util.c
type_util.h
unicode-utils.c 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
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
win32-utils.h
ws_cpuid.h
ws_mempbrk.c
ws_mempbrk.h
ws_mempbrk_int.h
ws_mempbrk_sse42.c
ws_pipe.c Note that you have to be careful reading messages from a pipe. 2018-10-14 19:47:37 +00:00
ws_pipe.h
ws_printf.h Try to discourage the use of APIs via counting. 2018-09-19 16:07:03 +00:00
wsgcrypt.c
wsgcrypt.h
wsgetopt.h
wsjson.c
wsjson.h
wspcap.h
xtea.c
xtea.h