wireshark/epan
Jeff Morriss 524ed1df6e WCCP: Fix up storing and decoding of IP addresses.
Try to decode as many IP addresses as we can, even if they don't fit in the
table we store them in.

Only add IP addresses in the table once.  We could theoretically reallocate
the table but the original code seems to assume the addresses should (in
non-fuzzed captures) only show up once per PDU.  This part of the change fixes
the fuzz failure.

Bug: 11153
Change-Id: I56b9854ac1342080c9f32699a3f97750fa335696
Reviewed-on: https://code.wireshark.org/review/8748
Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-06-04 06:17:25 +00:00
..
compress Add '*.nativecodeanalysis.xml' to 'clean' targets 2015-01-02 01:45:16 +00:00
crypt Copy PTK key in its dedicated array, and not at the address of the array 2015-05-10 19:48:52 +00:00
dfilter Make FT_{U}INT64 behave more like FT_{U}INT32, add support for FT_{U}INT{40,48,56} 2015-02-21 16:57:52 +00:00
dissectors WCCP: Fix up storing and decoding of IP addresses. 2015-06-04 06:17:25 +00:00
ftypes ftypes: display 64 bits BASE_HEX fields as hexadecimal 2015-05-07 20:52:48 +00:00
nghttp2 nghttp2: fix quote for config.h include 2015-05-26 10:31:57 +00:00
wmem Add a test-programs target everywhere. 2015-03-13 22:41:40 +00:00
wslua Revert "Try to please both GCC (the compiler, not me) and clang." 2015-05-05 16:01:35 +00:00
CMakeLists.txt 1.99.6 → 1.99.7. 2015-05-28 20:29:06 +00:00
CMakeListsCustom.txt.example
Makefile.am 1.99.6 → 1.99.7. 2015-05-28 20:29:06 +00:00
Makefile.common UI: Implementing menus for plugins 2015-04-14 04:00:39 +00:00
Makefile.nmake Add a test-programs target everywhere. 2015-03-13 22:41:40 +00:00
addr_and_mask.c
addr_and_mask.h
addr_resolv.c Complete the fix from g6b5c71a. 2015-03-18 18:46:18 +00:00
addr_resolv.h Add tvb_get_ether_name 2015-03-03 07:19:42 +00:00
address.h Address.h : fix api reference warning 2015-04-29 08:11:55 +00:00
address_types.c Address types: fix no previous prototype for ... [-Wmissing-prototypes] 2015-03-03 15:36:23 +00:00
address_types.h Add name resolution support to address type. 2015-02-19 13:09:41 +00:00
afn.c Add "Editor modelines"; Adjust whitespace as needed. 2015-01-02 00:49:09 +00:00
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 Remove some apparently-unnecessary includes of emem.h. 2015-01-18 19:36:36 +00:00
asn1.h Support dissecting REAL (BER) data values 2014-12-03 09:02:05 +00:00
ax25_pids.h
bridged_pids.h
charsets.c
charsets.h
chdlctypes.h
circuit.c Remove some apparently-unnecessary includes of emem.h. 2015-01-18 19:36:36 +00:00
circuit.h
color_dissector_filters.c Use new color_dissector_filters.[ch] to refactor (color) conversation generation in GTK menus. 2014-12-19 07:59:28 +00:00
color_dissector_filters.h Use new color_dissector_filters.[ch] to refactor (color) conversation generation in GTK menus. 2014-12-19 07:59:28 +00:00
column-info.h Add support for multifields in custom column 2014-12-18 11:03:42 +00:00
column-utils.c Eliminate the hf member out of the address structure. 2015-02-09 03:48:53 +00:00
column-utils.h [column utils] fix warning: unknown command tag name [-Wdocumentation-unknown-command] 2014-12-23 13:59:52 +00:00
column.c Clean up ftype-conversion and dfilter error message string handling. 2015-01-18 10:22:59 +00:00
column.h
conv_id.h
conversation.c Update some comments to reflect reality. 2015-01-18 21:02:40 +00:00
conversation.h
conversation_debug.h
conversation_table.c Get rid of an unused structure member. 2015-03-07 04:41:09 +00:00
conversation_table.h Update some comments to reflect reality. 2015-01-18 21:02:40 +00:00
crc6-tvb.c
crc6-tvb.h
crc8-tvb.c
crc8-tvb.h
crc10-tvb.c
crc10-tvb.h
crc16-tvb.c Add "seed" capabilities to crc16_x25_ccitt (now crc16_x25_ccitt_seed) so we can remove CRC algorithm calculation in packet-assa_r3.c. 2015-03-03 05:12:10 +00:00
crc16-tvb.h Add "seed" capabilities to crc16_x25_ccitt (now crc16_x25_ccitt_seed) so we can remove CRC algorithm calculation in packet-assa_r3.c. 2015-03-03 05:12:10 +00:00
crc32-tvb.c
crc32-tvb.h
decode_as.c Qt: Fix DecodeAs 2015-03-14 14:26:17 +00:00
decode_as.h
diam_dict.h
diam_dict.l Allow empty-element Diameter Applications and use that format. 2015-05-08 04:23:10 +00:00
disabled_protos.c
disabled_protos.h
dissector_filters.c
dissector_filters.h
doxygen.cfg.in
dtd.h
dtd_grammar.lemon
dtd_parse.h
dtd_parse.l
dtd_preparse.l dtd_preparse : fix indent (Use tabs) 2014-11-14 09:58:18 +00:00
dvb_chartbl.c Replace bytes_to_ep_str_punct with wmem equivalent. 2015-01-07 18:12:35 +00:00
dvb_chartbl.h
dwarf.c dwarf: fix bug found by MSVC2013 Code Analysis 2015-02-08 03:52:03 +00:00
dwarf.h
eap.h
eapol_keydes_types.h
enterprise-numbers [Automatic update for 2015-05-31] 2015-05-31 15:08:53 +00:00
epan-int.h
epan.c Reduce epan dependence on dissectors by having print module "cache" the protocol and field ids that it needs. 2015-03-20 05:30:52 +00:00
epan.h Bluetooth/GUI: ATT: Add Server Attribute Table 2015-02-07 16:35:39 +00:00
epan_dissect.h
etypes.h Improve VN-Tag dissector. 2015-05-20 14:57:51 +00:00
ex-opt.c
ex-opt.h
except.c (Trivial) Fix printf-related 'Mismatch on sign' warnings 2015-02-09 18:57:14 +00:00
except.h
exceptions.h
exntest.c Revert "exntest: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang" 2015-02-24 19:34:50 +00:00
expert.c Expert Info dialog. 2015-05-08 04:29:59 +00:00
expert.h Expert Info dialog. 2015-05-08 04:29:59 +00:00
exported_pdu.c
exported_pdu.h Fix out of tree builds 2015-05-25 10:42:59 +00:00
ext_menubar.c Get rid of extra variable. 2015-04-14 07:14:43 +00:00
ext_menubar.h Fix out of tree builds 2015-05-25 10:42:59 +00:00
filter_expressions.c Clear the filter expression list in prefs.c. 2015-02-20 23:16:54 +00:00
filter_expressions.h Clear the filter expression list in prefs.c. 2015-02-20 23:16:54 +00:00
follow.c Remove some apparently-unnecessary includes of emem.h. 2015-01-18 20:19:05 +00:00
follow.h follow.h: fix api reference warning 2015-04-29 08:32:58 +00:00
frame_data.c Remove some apparently-unnecessary includes of emem.h. 2015-01-18 20:19:05 +00:00
frame_data.h Fix diagnostics macros and squelch a gcc warning. 2015-02-14 19:46:42 +00:00
frame_data_sequence.c
frame_data_sequence.h
frequency-utils.c
frequency-utils.h
funnel.c
funnel.h Clean up ftype-conversion and dfilter error message string handling. 2015-01-18 10:22:59 +00:00
g_int64_hash_routines.c Fix FSF address. 2015-02-16 21:35:49 +00:00
g_int64_hash_routines.h Fix declaration and export the routines. 2015-02-16 19:51:08 +00:00
garrayfix.h
gcp.c [GCP] Add a command string when there's no context tracking. 2015-05-13 12:35:14 +00:00
gcp.h
geoip_db.c We need epan/wmem/wmem.h regardless of whether we have GeoIP. 2015-01-18 10:49:02 +00:00
geoip_db.h Remove emem from GeoIP 2015-01-18 04:14:03 +00:00
golay.c
golay.h
guid-utils.c Remove some apparently-unnecessary includes of emem.h. 2015-01-18 20:19:05 +00:00
guid-utils.h guid_to_ep_str -> guid_to_str 2015-01-08 07:18:09 +00:00
iax2_codec_type.h
in_cksum.c
in_cksum.h
ip_opts.h
ipproto.c
ipproto.h
ipv4.c
ipv4.h
ipv6-utils.h
lapd_sapi.h
llcsaps.h
next_tvb.c Replace all remaining instances of ep_new with wmem_new and wmem_packet_scope. 2015-01-17 23:22:46 +00:00
next_tvb.h Replace se alloced memory in compare stat tap. 2015-01-16 00:37:02 +00:00
nlpid.h
oids.c (Trivial) Fix printf-related 'Mismatch on sign' warnings 2015-02-09 18:57:14 +00:00
oids.h Convert OID APIs to use wmem. 2015-01-19 02:52:11 +00:00
oids_test.c Convert OID APIs to use wmem. 2015-01-19 02:52:11 +00:00
osi-utils.c Pass tvb and offset into print_nsap_net() and print_area() to "hide" the tvb_get_ptr call that dissectors are using. 2015-02-27 07:37:40 +00:00
osi-utils.h Pass tvb and offset into print_nsap_net() and print_area() to "hide" the tvb_get_ptr call that dissectors are using. 2015-02-27 07:37:40 +00:00
oui.c LLDP: Dissector for Hytec specific extensions added 2014-11-15 03:19:17 +00:00
oui.h LLDP: Dissector for Hytec specific extensions added 2014-11-15 03:19:17 +00:00
packet-range.c
packet-range.h
packet.c Use the GPOINTER_TO UINT macro rather than trying to do the casts 2015-06-03 19:02:34 +00:00
packet.h Miscellaneous ep_strdup_printf replacement. 2015-01-18 04:15:18 +00:00
packet_info.h Remove pkt_comment member from packet_info structure. 2015-01-02 00:00:57 +00:00
params.h
ppptypes.h
prefs-int.h
prefs.c Have a #define for whether the capture buffer size can be set. 2015-03-25 03:22:33 +00:00
prefs.h Have a #define for whether the capture buffer size can be set. 2015-03-25 03:22:33 +00:00
print.c change several (mutually exclusive) if statements into one big if-else 2015-04-04 17:18:28 +00:00
print.h Reduce epan dependence on dissectors by having print module "cache" the protocol and field ids that it needs. 2015-03-20 05:30:52 +00:00
print.ps
print_stream.c Add "Editor modelines"; Adjust whitespace as needed. 2015-01-02 00:49:09 +00:00
print_stream.h Fix comments. 2014-11-22 03:32:58 +00:00
proto.c proto: use correct mask when checking display 2015-05-11 21:42:20 +00:00
proto.h proto.h: fix clang++ 3.6 warning 2015-05-24 18:31:16 +00:00
ps.h
ptvcursor.h
radius_dict.l Consistently use the "g_string_free returns a C string pointer" idiom. 2015-01-13 23:14:13 +00:00
range.c Add the Display Filter Expression dialog. 2015-06-03 02:27:00 +00:00
range.h Add the Display Filter Expression dialog. 2015-06-03 02:27:00 +00:00
reassemble.c reassembly: address a 15-year old XXX comment 2015-04-21 01:05:17 +00:00
reassemble.h [Reassembly] Fix a reassembly case where the two fragments are in the same 2015-03-18 05:32:06 +00:00
reassemble_test.c More emem removal. 2015-02-06 08:11:49 +00:00
reedsolomon.c
reedsolomon.h
req_resp_hdrs.c Fix some cases where we're shifting a signed 1 left. 2015-04-30 22:22:59 +00:00
req_resp_hdrs.h
rtp_pt.h Replace tabs by spaces when editor modelines has "expandtab" 2015-02-13 17:34:53 +00:00
sctpppids.h
show_exception.c
show_exception.h
slow_protocol_subtypes.h
sminmpec.c [Automatic update for 2015-05-31] 2015-05-31 15:08:53 +00:00
sminmpec.h Netflow/Ipfix: Add Citrix Netscaler AppFlow 2015-03-19 14:27:24 +00:00
stat_groups.h
stat_tap_ui.c Fix IPv6/IPX statistics generation 2014-12-30 18:27:29 +00:00
stat_tap_ui.h Get rid of an unused structure member. 2015-03-07 04:41:09 +00:00
stats_tree.c stats_tree: Make sure some structs are fully initialized. 2014-12-30 13:01:08 +00:00
stats_tree.h Small parenthesis fix 2015-01-08 11:59:11 +00:00
stats_tree_priv.h Qt: Convert more dialogs to WiresharkDialog. 2014-12-30 03:34:03 +00:00
stream.c Remove some apparently-unnecessary includes of emem.h. 2015-01-18 20:19:05 +00:00
stream.h
strutil.c Remove some apparently-unnecessary includes of emem.h. 2015-01-18 20:19:05 +00:00
strutil.h
t35.c
t35.h
tap-voip.h
tap.c Have per-queued-packet flags, including "is a packet in error". 2015-05-16 18:38:26 +00:00
tap.h tap: Add ability to reject/ignore "error" packets in tap 2015-05-16 12:13:45 +00:00
tfs.c Fixed bug in ZigBee (zbee) decryption, added Key Establishment cluster and moved IAS, Thermostat and Poll clusters out of the ZCL foundation dissector. 2014-12-17 11:53:26 +00:00
tfs.h Add the Display Filter Expression dialog. 2015-06-03 02:27:00 +00:00
time_fmt.h
timestamp.c
timestamp.h
timestats.c Some typos fixed. 2015-01-09 14:07:06 +00:00
timestats.h Some typos fixed. 2015-01-09 14:07:06 +00:00
to_str-int.h Make FT_{U}INT64 behave more like FT_{U}INT32, add support for FT_{U}INT{40,48,56} 2015-02-21 16:57:52 +00:00
to_str.c fix FT_UINT64 fields output in tshark 2015-05-07 07:24:39 +00:00
to_str.h to_str.h: fix api reference 2015-04-29 10:55:40 +00:00
tpg.c
tpg.h
tvbparse.c epan: fix build error with gcc5 2015-02-24 09:10:46 +00:00
tvbparse.h Tabs are not necessarily set every 4 spaces. 2014-12-30 02:59:12 +00:00
tvbtest.c
tvbuff-int.h Remove tvb_ from the names of wsutil mempbrk routines. 2015-02-21 20:39:25 +00:00
tvbuff.c Remove tvb_ from the names of wsutil mempbrk routines. 2015-02-21 20:39:25 +00:00
tvbuff.h Remove tvb_ from the names of wsutil mempbrk routines. 2015-02-21 20:39:25 +00:00
tvbuff_base64.c
tvbuff_composite.c Remove some apparently-unnecessary includes of emem.h. 2015-01-18 20:19:05 +00:00
tvbuff_real.c Remove some apparently-unnecessary includes of emem.h. 2015-01-18 20:19:05 +00:00
tvbuff_subset.c Remove tvb_ from the names of wsutil mempbrk routines. 2015-02-21 20:39:25 +00:00
tvbuff_zlib.c skip the extra field in the gzip header 2014-12-11 09:39:18 +00:00
uat-int.h Fix handling of invalid UAT items 2015-02-15 23:52:24 +00:00
uat.c Fix handling of invalid UAT items 2015-02-15 23:52:24 +00:00
uat.h Use an "Open" instead of a "Save" dialog for UAT prefs. 2015-05-28 21:16:39 +00:00
uat_load.l Fix x64 compilation warning 2015-04-27 14:40:16 +00:00
value_string.c emem is dead! Long live wmem! 2015-02-04 06:59:55 +00:00
value_string.h Convert val_to_str_ext -> val_to_str_ext_wmem for calls that don't have valid packet scope (GUI). 2015-02-03 13:03:32 +00:00
x264_prt_id.h
xdlc.c Remove some apparently-unnecessary includes of emem.h. 2015-01-18 20:19:05 +00:00
xdlc.h