wireshark/epan
Jaap Keuter 445a57bdc3 Make sure conversation exists (CID-280536)
The code sets up a conversation, then proceeds getting it
and using it. It must be there, so assert that it is before
dereferencing it.

Change-Id: I5384b9b773a5f4e86f649612ee4f4929a503c523
Reviewed-on: https://code.wireshark.org/review/14641
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-03-26 22:21:26 +00:00
..
compress autotools: Use pkg-config autoconf macros for GLib/GTK 2016-02-21 07:51:55 +00:00
crypt Add CMakeListsCustom.txt.example to distribution 2016-03-03 06:27:42 +00:00
dfilter FT_BOOLEAN is now stored as a 64-bit value; treat it as such. 2016-03-15 21:21:00 +00:00
dissectors Make sure conversation exists (CID-280536) 2016-03-26 22:21:26 +00:00
ftypes FT_BOOLEAN is now stored as a 64-bit value; treat it as such. 2016-03-15 21:21:00 +00:00
nghttp2 Add EditorConfig settings for most C files 2016-03-08 10:46:35 +00:00
wmem Improves MPTCP analysis 2016-03-26 19:15:25 +00:00
wslua Associate dissector tables and heuristic subdissector lists with a protocol. 2016-03-17 00:05:17 +00:00
.editorconfig Add EditorConfig settings for epan/*.[ch] 2016-03-14 13:22:30 +00:00
CMakeLists.txt Remove ADNS support 2016-03-21 19:32:00 +00:00
Makefile.am Add ax_lib_socket_nsl.m4 macro 2016-03-25 00:16:19 +00:00
Makefile.common Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
Makefile.nmake Remove ADNS support 2016-03-21 19:32:00 +00:00
addr_and_mask.c Rename ipv4_addr and ipv6_addr to indicate their full contents. 2016-01-04 00:03:34 +00:00
addr_and_mask.h Rename ipv4_addr and ipv6_addr to indicate their full contents. 2016-01-04 00:03:34 +00:00
addr_resolv.c Remove more missed ADNS code 2016-03-22 02:16:02 +00:00
addr_resolv.h Remove ADNS support 2016-03-21 19:32:00 +00:00
address.h Clamp down on address data structure usage and AT_NONE semantics 2016-03-18 00:58:48 +00:00
address_types.c Add inet_pton/inet_ntop interface to libwsutil 2016-02-19 15:55:09 +00:00
address_types.h Add WS_DLL_PUBLIC for Address Type Registration 2015-10-09 17:42:06 +00:00
afn.c
afn.h
aftypes.c
aftypes.h
app_mem_usage.c
app_mem_usage.h
arcnet_pids.h
arptypes.h
asm_utils.c
asm_utils.h
asm_utils_win32_x86.asm
asn1.c asn1.c: fix printf arguments used with DEBUG flag 2015-10-09 18:45:26 +00:00
asn1.h Remove support for "old style" dissectors in PER API. 2015-11-24 23:33:37 +00:00
ax25_pids.h
bridged_pids.h
capture_dissectors.c Don't limit capture packet counts to a fixed set of protocols. 2015-12-22 05:23:06 +00:00
capture_dissectors.h Don't limit capture packet counts to a fixed set of protocols. 2015-12-22 05:23:06 +00:00
charsets.c
charsets.h
chdlctypes.h
circuit.c
circuit.h
color_filters.c const gpointer -> gconstpointer 2016-02-16 05:10:49 +00:00
color_filters.h const gpointer -> gconstpointer 2016-02-16 05:10:49 +00:00
column-info.h ui: Improved splitting custom column multi-field 2015-12-21 13:36:27 +00:00
column-utils.c Qt: Add check for field extractors 2016-02-05 05:35:02 +00:00
column-utils.h Qt: Add check for field extractors 2016-02-05 05:35:02 +00:00
column.c Remove the deprecated column types so users don't think they still exist. 2016-01-27 07:54:24 +00:00
column.h Qt: Add missing multi-field column validation 2015-12-20 08:21:02 +00:00
conv_id.h
conversation.c Revert "Create an extended converstaion hastable taking more address information into consideration. This makes it possible to differentiate between packets on different vlans and can be expanded to handle tunnels." 2016-02-08 16:32:57 +00:00
conversation.h Revert "Create an extended converstaion hastable taking more address information into consideration. This makes it possible to differentiate between packets on different vlans and can be expanded to handle tunnels." 2016-02-08 16:32:57 +00:00
conversation_debug.h
conversation_table.c Add free_address_wmem(), fix warnings [-Wcast-qual] 2016-02-26 23:09:43 +00:00
conversation_table.h Avoid returning malloced memory as const [-Wcast-qual] 2016-01-21 02:30:18 +00:00
crc6-tvb.c
crc6-tvb.h
crc8-tvb.c
crc8-tvb.h
crc10-tvb.c
crc10-tvb.h
crc16-tvb.c add functions to calculate the CRC of an ISO14443-A message 2016-02-08 06:01:05 +00:00
crc16-tvb.h add functions to calculate the CRC of an ISO14443-A message 2016-02-08 06:01:05 +00:00
crc32-tvb.c
crc32-tvb.h
decode_as.c const gpointer -> gconstpointer 2016-02-16 05:10:49 +00:00
decode_as.h const gpointer -> gconstpointer 2016-02-16 05:10:49 +00:00
diam_dict.h
diam_dict.l Fix format string warnings [-Wformat=] 2016-02-14 23:47:43 +00:00
disabled_protos.c disabled_protos.c: Fix heur_compare() constness [-Wcast-qual] 2015-12-15 08:58:55 +00:00
disabled_protos.h
dissector_filters.c Tweak some names to better reflect what the named items are. 2015-10-29 04:22:02 +00:00
dissector_filters.h Move the definition of MAX_NUM_COLOR_CONVERSATION_COLORS. 2015-10-29 04:30:56 +00:00
doxygen.cfg.in
dtd.h
dtd_grammar.lemon
dtd_parse.h
dtd_parse.l Use noyywrap rather than defining our own yywrap functions. 2015-12-05 08:06:50 +00:00
dtd_preparse.l Use noyywrap rather than defining our own yywrap functions. 2015-12-05 08:06:50 +00:00
dvb_chartbl.c
dvb_chartbl.h
dwarf.c
dwarf.h
eap.h
eapol_keydes_types.h
enterprise-numbers [Automatic update for 2016-03-20] 2016-03-20 15:09:47 +00:00
epan-int.h
epan.c Remove ADNS support 2016-03-21 19:32:00 +00:00
epan.h Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
epan_dissect.h
etypes.h Network Service Header Dissector for Ethernet & GRE encapsulation 2016-02-05 05:30:48 +00:00
ex-opt.c
ex-opt.h
except.c
except.h
exceptions.h Fix test-programs to build with -Werror 2016-02-11 13:53:12 +00:00
exntest.c
expert.c Adds calculation of preamble length and frame duration. 2016-02-03 05:58:05 +00:00
expert.h epan: Don't export deregister functions 2015-12-11 08:35:11 +00:00
exported_pdu.c Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
exported_pdu.h [Nettrace] Add parsing of IP addresses and ports. 2015-10-23 07:14:18 +00:00
filter_expressions.c Plug memory leak in filter_expression_free 2015-12-23 08:46:59 +00:00
filter_expressions.h Get rid of the argument to filter_expression_init(). 2015-12-19 19:21:08 +00:00
follow.c Bring back packet_num in "Follow Stream" 2016-02-10 10:09:39 +00:00
follow.h Refactor "Follow Stream" functionality on all GUI interfaces. 2016-01-12 15:08:18 +00:00
frame_data.c Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
frame_data.h Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
frame_data_sequence.c
frame_data_sequence.h
funnel.c Fix warning for funnel.c [-Wcast-qual] 2016-01-21 02:44:10 +00:00
funnel.h Lua: Added reload_lua_plugins 2016-01-11 07:43:36 +00:00
g_int64_hash_routines.c
g_int64_hash_routines.h
garrayfix.h
gcp.c Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
gcp.h
geoip_db.c
geoip_db.h Rename ipv6-utils.h to ipv6.h. 2016-01-03 21:42:32 +00:00
golay.c
golay.h
guid-utils.c
guid-utils.h
iax2_codec_type.h
in_cksum.c
in_cksum.h
ip_opts.h
ipproto.c IPv6: Add ipv6extprotostr() to ipproto.h 2015-11-29 21:38:30 +00:00
ipproto.h IPv6: Add ipv6extprotostr() to ipproto.h 2015-11-29 21:38:30 +00:00
ipv4.c Rename ipv4_addr and ipv6_addr to indicate their full contents. 2016-01-04 00:03:34 +00:00
ipv4.h Rename ipv4_addr and ipv6_addr to indicate their full contents. 2016-01-04 00:03:34 +00:00
ipv6.h Rename ipv4_addr and ipv6_addr to indicate their full contents. 2016-01-04 00:03:34 +00:00
lapd_sapi.h
llcsaps.h
next_tvb.c
next_tvb.h
nlpid.h
oids.c Remove constness from bytestring_to_str() [-Wcast-qual] 2016-01-07 22:40:30 +00:00
oids.h
oids_test.c oids_test.c - Fix compile error 2016-01-06 00:54:49 +00:00
osi-utils.c
osi-utils.h
oui.c
oui.h
packet-range.c
packet-range.h
packet.c Create call_data_dissector() to call data dissector. 2016-03-20 17:38:03 +00:00
packet.h Create call_data_dissector() to call data dissector. 2016-03-20 17:38:03 +00:00
packet_info.h Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
params.h
plugin_if.c Add some casts to void * to fix (pedantic) argument mismatch notes 2016-02-15 00:00:34 +00:00
plugin_if.h plugin_if: Add function to get capture file info 2016-01-15 11:39:58 +00:00
ppptypes.h The Bridging Control Protocol is really two protocols. 2015-12-10 21:10:40 +00:00
prefs-int.h prefs: fix a leak. 2016-02-08 06:04:13 +00:00
prefs.c IEEE 802.1Q/VLAN: Resolve ID to a describing name 2016-03-18 05:41:36 +00:00
prefs.h extcap: Add Save functionality to options dialog 2016-02-01 12:12:41 +00:00
print.c More "FT_BOOLEAN is 64-bit" fixes. 2016-03-22 18:08:08 +00:00
print.h
print.ps
print_stream.c
print_stream.h
proto.c More "FT_BOOLEAN is 64-bit" fixes. 2016-03-15 23:08:08 +00:00
proto.h Adds calculation of preamble length and frame duration. 2016-02-03 05:58:05 +00:00
proto_data.c proto_data: Remove superfluous casts 2016-02-07 23:21:04 +00:00
proto_data.h Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
ps.h
ptvcursor.h
radius_dict.l Use noyywrap rather than defining our own yywrap functions. 2015-12-05 08:06:50 +00:00
range.c Allow hex and octal values to be used in ranges 2016-01-24 01:36:31 +00:00
range.h
reassemble.c Add free_address_wmem(), fix warnings [-Wcast-qual] 2016-02-26 23:09:43 +00:00
reassemble.h Extend reassembly documentation 2016-02-24 06:18:47 +00:00
reassemble_test.c Fix reassembly test broken by gbc5a037 2016-01-24 17:37:29 +00:00
reedsolomon.c
reedsolomon.h
req_resp_hdrs.c Officially remove tvb_get_string and tvb_get_stringz. 2015-11-27 05:11:25 +00:00
req_resp_hdrs.h
rtd_table.c Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
rtd_table.h rtd_table(.h): fix api reference 2015-11-02 11:38:09 +00:00
rtp_pt.h
sctpppids.h
show_exception.c Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
show_exception.h
slow_protocol_subtypes.h
sminmpec.c [Automatic update for 2016-03-20] 2016-03-20 15:09:47 +00:00
sminmpec.h L2TP: Added AVPs from RFC 5515 2016-03-01 08:07:05 +00:00
srt_table.c Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
srt_table.h srt_table(.h): fix api reference 2015-11-02 11:40:07 +00:00
stat_groups.h
stat_tap_ui.c Get rid of another unnecessary new_ prefix. 2015-12-29 00:48:29 +00:00
stat_tap_ui.h Get rid of another unnecessary new_ prefix. 2015-12-29 00:48:29 +00:00
stats_tree.c Cleanup indentation 2016-02-08 05:51:14 +00:00
stats_tree.h
stats_tree_priv.h
stream.c
stream.h
strutil.c Fix constness 2016-01-20 16:12:07 +00:00
strutil.h Fix constness 2016-01-20 16:12:07 +00:00
t35.c
t35.h
tap-voip.h
tap.c Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
tap.h
tfs.c bootp: Add support for iSNS (RFC4174) dissection 2016-03-26 19:05:07 +00:00
tfs.h bootp: Add support for iSNS (RFC4174) dissection 2016-03-26 19:05:07 +00:00
time_fmt.h
timestamp.c
timestamp.h
timestats.c Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
timestats.h
to_str-int.h If it's used by dissectors, it belongs in to_str.h, not to_str-int.h. 2015-10-19 16:40:43 +00:00
to_str.c Remove constness from bytestring_to_str() [-Wcast-qual] 2016-01-07 22:40:30 +00:00
to_str.h Refactor "Follow Stream" functionality on all GUI interfaces. 2016-01-12 15:08:18 +00:00
tpg.c
tpg.h Officially remove tvb_get_string and tvb_get_stringz. 2015-11-27 05:11:25 +00:00
tvbparse.c Use cast to char for explicit conversion [-Woverflow] 2016-02-15 18:36:14 +00:00
tvbparse.h
tvbtest.c
tvbuff-int.h
tvbuff.c Prevent inproper use of negative value 2016-02-19 03:23:07 +00:00
tvbuff.h Rename ipv6-utils.h to ipv6.h. 2016-01-03 21:42:32 +00:00
tvbuff_base64.c
tvbuff_composite.c
tvbuff_real.c
tvbuff_subset.c
tvbuff_zlib.c Make zlib API constness-aware, take 2. 2015-12-16 17:58:09 +00:00
uat-int.h Spelling fixes for errors found by lintian 2015-12-07 07:11:54 +00:00
uat.c uat: Fix warnings [-Wcast-qual] 2015-12-31 22:56:34 +00:00
uat.h uat: Fix warnings [-Wcast-qual] 2015-12-31 22:56:34 +00:00
uat_load.l Spelling fixes for errors found by lintian 2015-12-07 07:11:54 +00:00
value_string.c
value_string.h
x264_prt_id.h
xdlc.c
xdlc.h