wireshark/wsutil
Roland Knall 5c678288bc Qt: Check filename before import
Before the unzipped files are being copied from the temp directory,
they are checked against the stored list of profile names, to ensure,
that only allowed files are being imported.

Also ensures, that no empty directory exists for the skipped one

Bug: 15969
Change-Id: I6ae8c9fb5f63d089d42fc0ef18dbe84baec515a2
Reviewed-on: https://code.wireshark.org/review/34184
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-08-05 13:47:11 +00:00
..
.editorconfig HTTPS In Even More Places, update some links. 2019-07-28 04:21:18 +00:00
CMakeLists.txt wsutil: link with -lm. 2019-08-02 20:42:23 +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
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 HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
color.h HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
copyright_info.c copyright_info: convert GPL-2.0 URL to HTTP 2019-07-20 20:50:19 +00:00
copyright_info.h
cpu_info.c HTTPS In Still More Places, update more URLs. 2019-07-27 22:56:35 +00:00
cpu_info.h
crash_info.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
crash_info.h
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
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
file_util.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
file_util.h Dumpcap: Set a bigger IO buffer (64KiB). 2019-03-10 12:34:55 +00:00
filesystem.c Qt: Check filename before import 2019-08-05 13:47:11 +00:00
filesystem.h Qt: Check filename before import 2019-08-05 13:47:11 +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 HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
getopt_long.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: 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
nstime.h Editcap: Allow floating point split intervals. 2019-07-16 06:43:09 +00:00
os_version_info.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
os_version_info.h
pint.h HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
please_report_bug.c Add routines to return "Please report this as a bug" message strings. 2019-03-24 04:48:12 +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 wsutil: improve plugins list output format. 2018-12-17 05:21:55 +00:00
plugins.h
pow2.h
privileges.c
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 Move the Winsock initialization and cleanup to wsutil routines. 2019-05-02 09:29:01 +00:00
socket.h Have the multiple-include guards cover everything. 2019-05-02 14:42:14 +00:00
str_util.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
str_util.h str_util(.h): fix issue on doxygen documentation 2019-01-07 22:08:05 +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 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 HTTPS In Still More Places, update more URLs. 2019-07-27 22:56:35 +00:00
tempfile.h
time_util.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +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
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
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 HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
ws_pipe.h HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
ws_printf.h
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 NGAP: fix dissection of N2 Information Content 2019-06-16 11:30: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