wireshark/epan
Bill Meier bc55ee0616 Fix "Function call argument is an uninitialized value" issue found by scan-build.
(It seems to me that this issue would rarely, if ever, actually occur).

Also:
- Use val_to_str_const() as appropriate;
- Localize some variables;
- Remove unneeded initializers;
- Do some parenthesizing;
- Use a consistent formatting style;
- Do whitespace cleanup.

svn path=/trunk/; revision=42754
2012-05-21 18:25:29 +00:00
..
crypt Neither C90 nor C99 explicitly guarantee that a memcpy() call with a 2012-04-28 02:25:15 +00:00
dfilter Add missing consts. 2012-04-10 10:20:20 +00:00
dissectors Fix "Function call argument is an uninitialized value" issue found by scan-build. 2012-05-21 18:25:29 +00:00
ftypes Add a "-build" argument to checkAPIs.pl. Use that argument when building 2012-04-04 20:46:49 +00:00
wslua From Evan Huus: 2012-05-21 07:42:09 +00:00
wspython Add a "-build" argument to checkAPIs.pl. Use that argument when building 2012-04-04 20:46:49 +00:00
addr_and_mask.c
addr_and_mask.h
addr_resolv.c Add uint_get_manuf_name() and uint_get_manuf_name_if_known() routines, 2012-04-13 22:23:04 +00:00
addr_resolv.h Add uint_get_manuf_name() and uint_get_manuf_name_if_known() routines, 2012-04-13 22:23:04 +00:00
address.h From Martin Kaiser via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6890 : 2012-03-01 02:50:16 +00:00
address_to_str.c
adler32.c
adler32.h
afn.c
afn.h
aftypes.h
arcnet_pids.h
arptypes.h
asm_utils.c
asm_utils.h
asm_utils_win32_x86.asm
asn1.c
asn1.h
atalk-utils.c
atalk-utils.h
base64.c
base64.h
bitswap.c
bitswap.h
bridged_pids.h
camel-persistentdata.c
camel-persistentdata.h
charsets.c
charsets.h
chdlctypes.h
circuit.c
circuit.h
CMakeLists.txt Add packet-sync.c to epan\CMakeLists.txt 2012-05-21 09:18:39 +00:00
codecs.c
codecs.h
column-utils.c Add a presence flag field to the packet information structure filled in 2012-02-25 23:24:34 +00:00
column-utils.h
column.c
column.h
column_info.h
conversation.c From Evan Huus: Clean up conversation list iterator caching. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7149 2012-04-20 05:23:41 +00:00
conversation.h From Cristian Constantin: 2012-04-19 13:59:14 +00:00
crc8-tvb.c
crc8-tvb.h
crc16-tvb.c
crc16-tvb.h
crc32-tvb.c From Weston Schmidt: 2012-03-13 08:57:04 +00:00
crc32-tvb.h From Weston Schmidt: 2012-03-13 08:57:04 +00:00
diam_dict.h
diam_dict.l
dissector_filters.c
dissector_filters.h
doxygen.cfg.in Add @configure_input@ to a bunch of .in files that didn't have it. 2012-03-16 03:39:51 +00:00
dtd.h
dtd_grammar.lemon
dtd_parse.h
dtd_parse.l
dtd_preparse.l
eap.h From Nick Lowe: 2012-04-05 12:33:25 +00:00
emem.c The rest of the fix for https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7221 2012-05-04 21:56:32 +00:00
emem.h The rest of the fix for https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7221 2012-05-04 21:56:32 +00:00
enterprise-numbers [Automatic manuf, services and enterprise-numbers update for 2012-05-20] 2012-05-20 14:03:32 +00:00
epan.c Refcount edt.s as we may have atleast two "active" edt:s in certain 2012-04-26 08:41:47 +00:00
epan.h
epan_dissect.h
etypes.h
ex-opt.c
ex-opt.h
except.c
except.h
exceptions.h
exntest.c
expert.c Use the expert system to show packet comments. 2012-03-02 13:31:16 +00:00
expert.h
filesystem.c
filesystem.h
filter_expressions.c
filter_expressions.h
follow.c
follow.h
frame_data.c Fix a bunch of uninitialized variables found by Coverity Scan. CIDs 2012-05-16 16:29:12 +00:00
frame_data.h Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3315 - 2012-02-28 03:19:49 +00:00
frequency-utils.c
frequency-utils.h
funnel.c
funnel.h
garrayfix.h
gcp.c
gcp.h
geoip_db.c 'tab-width/tabstop/tabSize' in editor modelines should really always be 8. 2012-03-21 18:27:10 +00:00
geoip_db.h
golay.c
golay.h
greproto.h
guid-utils.c
guid-utils.h
h225-persistentdata.c
h225-persistentdata.h
iana_snap_pid.h
iax2_codec_type.h
in_cksum.c
in_cksum.h
ip_opts.h Add Quick Start IPv6 Option ( And shared Quick Start option between IPv4/IPv6/TCP ) 2012-03-20 08:51:05 +00:00
ipproto.c
ipproto.h
ipv4.c
ipv4.h
ipv6-utils.h
lapd_sapi.h
libwireshark.def Get rid of remaining Booleans-as-encoding-arguments in 2012-05-14 00:49:05 +00:00
libwireshark.vcproj Set eol-style to native (just to make these files readable on *NIX). 2012-03-19 01:46:24 +00:00
llcsaps.h
Makefile.am 1.7.1 → 1.7.2. 2012-04-06 17:27:20 +00:00
Makefile.common
Makefile.nmake Fix the *test_install targets so they put the test tools in the right directory (wireshark-gtk2 is one dir up from here). 2012-05-16 16:36:32 +00:00
next_tvb.c
next_tvb.h
nlpid.h Add missing updated file from previous commit. 2012-05-02 14:56:51 +00:00
nstime.c
nstime.h
oids.c
oids.h
osi-utils.c
osi-utils.h
oui.h
packet.c Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3315 - 2012-02-28 03:19:49 +00:00
packet.h Trivial typo: if -> it 2012-05-10 16:09:10 +00:00
packet_info.h Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3315 - 2012-02-28 03:19:49 +00:00
params.h
pint.h
plugins.c
plugins.h
ppptypes.h PPP LCP improvements, mostly with LCP options. checkAPIs.pl and checkfiltername.pl are happy, but checkhf.pl complains; however, all complaints are false positives - maybe a Perl expert is able to modify checkhf.pl to avoid reporting them? Lots of changes so fuzz testing was performed, but no captures exist w/all the LCP options, so some are likely still untested. Compiled on Windows using MSVC2010EE, which is notorious for not reporting problems that other compilers do. Hopefully there are no warnings, but we'll see what the buildbots say ... 2012-05-10 01:21:37 +00:00
prefs-int.h
prefs.c Store a copy of the default preferences (e_prefs; the dissectors' default 2012-05-16 03:06:08 +00:00
prefs.h
proto.c Rework proto_registrar_dump_protocols() to prevent a Clang scan-build "de-reference of a null poiunter" warning 2012-05-19 16:07:50 +00:00
proto.h Get rid of remaining Booleans-as-encoding-arguments in 2012-05-14 00:49:05 +00:00
ptvcursor.h
radius_dict.l Get rid of remaining Booleans-as-encoding-arguments in 2012-05-10 01:01:18 +00:00
range.c
range.h
reassemble.c Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3315 - 2012-02-28 03:19:49 +00:00
reassemble.h
reassemble_test.c OK, to heck with it - link reassemble_test with libwireshark. Trying to 2012-02-28 09:00:05 +00:00
reedsolomon.c
reedsolomon.h
report_err.c
report_err.h
req_resp_hdrs.c
req_resp_hdrs.h
rtp_pt.h
sctpppids.h Add support for SSH over SCTP. 2012-03-15 08:23:26 +00:00
sigcomp-udvm.c From Evan Huus: 2012-05-07 01:27:36 +00:00
sigcomp-udvm.h
sigcomp_state_hdlr.c
sigcomp_state_hdlr.h
slab.h
sminmpec.h
sna-utils.c
sna-utils.h
stat_cmd_args.c
stat_cmd_args.h
stats_tree.c
stats_tree.h
stats_tree_priv.h
stream.c
stream.h
strutil.c Revert r35131 fix bug #5738 2012-05-20 18:32:44 +00:00
strutil.h
t35.c
t35.h
tap-voip.h
tap.c
tap.h
tcap-persistentdata.c From Evan Huus: 2012-04-16 08:39:34 +00:00
tcap-persistentdata.h
tfs.c Bugfix and enhancement of MM Context dissection. 2012-04-12 14:07:31 +00:00
tfs.h Bugfix and enhancement of MM Context dissection. 2012-04-12 14:07:31 +00:00
time_fmt.h
timestamp.c
timestamp.h
to_str.c Trivial typo: of -> or 2012-05-07 04:15:10 +00:00
to_str.h Make bit_offset in _tvb_get_bits64 and related functions unsigned. This 2012-04-04 21:54:22 +00:00
tpg.c
tpg.h
tvbparse.c Wrap a couple of very long lines. 2012-03-26 17:33:09 +00:00
tvbparse.h
tvbtest.c
tvbuff-int.h
tvbuff.c Assign some variables that scan-build was complaining about. 2012-05-15 21:56:02 +00:00
tvbuff.h Make the encoding argument uniformly guint rather than gint. 2012-05-15 05:42:58 +00:00
uat-int.h
uat.c
uat.h Fix a typo. 2012-05-03 15:31:45 +00:00
uat_load.l Remove doubled semicolons and semicolons outside function. 2012-04-13 20:22:31 +00:00
value_string.c Fix a typo. 2012-04-23 02:37:35 +00:00
value_string.h
x264_prt_id.h
xdlc.c
xdlc.h