wireshark/ui/qt/models
Stig Bjørlykke 927afac570 Qt: Check for NULL pointer in profile->reference
Check for NULL pointer before using profile->reference in strcmp()
because this will give a crash. Doing a copy profile from a new profile
will set the reference to NULL in get_profile_parent().

Use an unambiguously profile reference value NULL as profile->reference
when creating a new profile to align with when copy from a new profile.

Change-Id: Ib27a1a309776e9c2ec44677f2d22f9a5635dd38a
Reviewed-on: https://code.wireshark.org/review/34137
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-07-30 11:34:35 +00:00
..
astringlist_list_model.cpp Qt: Use a lighter link color in dark mode. 2019-06-25 20:31:41 +00:00
astringlist_list_model.h
cache_proxy_model.cpp
cache_proxy_model.h
coloring_rules_delegate.cpp
coloring_rules_delegate.h
coloring_rules_model.cpp
coloring_rules_model.h
credentials_model.cpp credentials: don't use wmem file scope but a local copy. 2019-07-05 12:26:44 +00:00
credentials_model.h Qt: remove CaptureFile from CredentialsModel constructor. 2019-07-04 12:56:23 +00:00
decode_as_delegate.cpp
decode_as_delegate.h
decode_as_model.cpp
decode_as_model.h
dissector_tables_model.cpp
dissector_tables_model.h
enabled_protocols_model.cpp
enabled_protocols_model.h
expert_info_model.cpp Expert Info: Displays comment of each packet in the expert information tab 2019-04-26 06:39:35 +00:00
expert_info_model.h
expert_info_proxy_model.cpp
expert_info_proxy_model.h
export_objects_model.cpp Qt: avoid NULL to terminate a g_build_filename in ExportObjectModel 2019-07-29 19:55:38 +00:00
export_objects_model.h
fileset_entry_model.cpp HTTPS In More Places, update some URLs. 2019-07-27 07:55:36 +00:00
fileset_entry_model.h
info_proxy_model.cpp
info_proxy_model.h
interface_sort_filter_model.cpp
interface_sort_filter_model.h
interface_tree_cache_model.cpp Qt: Fix debug assert in Manage Interfaces dialog 2019-05-09 03:59:18 +00:00
interface_tree_cache_model.h
interface_tree_model.cpp
interface_tree_model.h
numeric_value_chooser_delegate.cpp
numeric_value_chooser_delegate.h
packet_list_model.cpp Qt: Properly hide the choosen model from external views 2019-07-04 16:34:29 +00:00
packet_list_model.h Qt: Cleanup PacketList 2019-07-03 18:32:28 +00:00
packet_list_record.cpp Qt: Remove glib and wmem from packetlistrecord 2019-07-04 16:34:08 +00:00
packet_list_record.h Qt: Remove glib and wmem from packetlistrecord 2019-07-04 16:34:08 +00:00
path_chooser_delegate.cpp
path_chooser_delegate.h
percent_bar_delegate.cpp
percent_bar_delegate.h
pref_delegate.cpp
pref_delegate.h
pref_models.cpp Qt: fix more more Qt 5.13 deprecation warnings 2019-06-30 13:08:13 +00:00
pref_models.h
profile_model.cpp Qt: Check for NULL pointer in profile->reference 2019-07-30 11:34:35 +00:00
profile_model.h Qt: Change from User/System to Personal/Global profile types 2019-07-30 10:11:10 +00:00
proto_tree_model.cpp Qt: Use a lighter link color in dark mode. 2019-06-25 20:31:41 +00:00
proto_tree_model.h
related_packet_delegate.cpp Qt: Remove glib and wmem from packetlistrecord 2019-07-04 16:34:08 +00:00
related_packet_delegate.h
sparkline_delegate.cpp HTTPS In More Places, update some URLs. 2019-07-27 07:55:36 +00:00
sparkline_delegate.h
supported_protocols_model.cpp
supported_protocols_model.h
timeline_delegate.cpp
timeline_delegate.h
tree_model_helpers.h Qt: Fix warning and remove dead code 2019-07-11 13:06:34 +00:00
uat_delegate.cpp
uat_delegate.h
uat_model.cpp Qt: do not expose a UAT record if the update callback fails 2019-05-15 05:31:47 +00:00
uat_model.h
url_link_delegate.cpp Qt: Use a lighter link color in dark mode. 2019-06-25 20:31:41 +00:00
url_link_delegate.h tap: add credentials tap. 2019-06-26 07:09:54 +00:00
voip_calls_info_model.cpp
voip_calls_info_model.h