wireshark/epan
Guy Harris 9461951d50 Make the array for the "setup method" for RTP, RTCP, and T.38
conversations large enough to hold the maximum setup method size plus a
trailing '\0'.  Make the maximum setup method size 7, so that when the
trailing '\0' is included the total array length is a power of 2.  (The
longest string currently used is "Skinny", which fits in 7 characters).

This fixes problems in the RTP and RTCP dissectors similar to the one
found in the T.38 dissector.

Undo the previous change to packet-t38.c, as it's now safe to store in
method[MAX_T38_SETUP_METHOD_SIZE], because the array now has
MAX_T38_SETUP_METHOD_SIZE+1 characters.

(Should we use "strlcpy()", and supply our own "strlcpy()" if the system
and/or C library doesn't supply it?  Its semantics are a bit cleaner
than those of the "strncpy()"/null-terminate idiom, perhaps making it
less likely that mistakes of this sort will be made.)

svn path=/trunk/; revision=12803
2004-12-21 19:28:48 +00:00
..
dfilter
dissectors Make the array for the "setup method" for RTP, RTCP, and T.38 2004-12-21 19:28:48 +00:00
ftypes Add functions to the old and the new plugin api for the MATE Plugin. 2004-12-11 00:13:27 +00:00
AUTHORS
ChangeLog
Makefile.am
Makefile.common
Makefile.nmake Updates to reflect revision 4 of ethereal-win32-libs. 2004-10-15 18:30:05 +00:00
NEWS
README
addr_and_mask.c
addr_and_mask.h
addr_resolv.c removed an MSVC warning 2004-11-21 11:52:34 +00:00
addr_resolv.h Add a hash table for IPv6 addresses, and add an "add_ipv6_name()" 2004-11-17 09:44:41 +00:00
address.h
adler32.c
adler32.h
afn.c
afn.h
atalk-utils.c
atalk-utils.h
base64.c
base64.h
bitswap.c
bitswap.h
charsets.c
charsets.h
circuit.c
circuit.h
column-utils.c
column-utils.h
column.c
column.h
column_info.h
conversation.c From Peter Johansson: "template" conversations - if one is recognized, 2004-12-15 09:25:48 +00:00
conversation.h From Peter Johansson: "template" conversations - if one is recognized, 2004-12-15 09:25:48 +00:00
crc16.c
crc16.h
crc32.c
crc32.h
crypt-des.c
crypt-des.h
crypt-md4.c
crypt-md4.h
crypt-md5.c
crypt-md5.h
crypt-rc4.c
crypt-rc4.h
doxygen.cfg.in fix doxygen generation 2004-10-27 04:03:31 +00:00
epan.c
epan.h
epan_dissect.h
except.c
except.h
exceptions.h
filesystem.c
filesystem.h Add functions to the old and the new plugin api for the MATE Plugin. 2004-12-11 00:13:27 +00:00
frame_data.c
frame_data.h
g_ascii_strtoull.c
g_ascii_strtoull.h
gdebug.h
in_cksum.c
in_cksum.h
inet_aton.c
inet_aton.h
inet_ntop.c
inet_pton.c
inet_v6defs.h
ipproto.c
ipproto.h
ipv4.c
ipv4.h
ipv6-utils.h
libethereal.def yet another GeneralizedTime change 2004-12-13 05:31:58 +00:00
nstime.h
osi-utils.c
osi-utils.h
packet.c Make sure we don't return a random value in an unset variable if an 2004-10-31 23:22:14 +00:00
packet.h split capture_loop from capture.c, some more code cleanup 2004-10-30 17:50:51 +00:00
packet_info.h
pint.h
plugins.c
plugins.h
prefs-int.h Remove the fixed maximum number of subranges in a range_t; dynamically 2004-10-16 23:32:24 +00:00
prefs.c From Nathan Jennings: add a preference that supplies a prefix for window 2004-12-02 11:30:24 +00:00
prefs.h From Nathan Jennings: add a preference that supplies a prefix for window 2004-12-02 11:30:24 +00:00
proto.c Check to make sure we don't give a protocol tree item a negative length. 2004-10-27 10:02:45 +00:00
proto.h
range.c Have "range_convert_range()" dynamically allocate a string large enough 2004-10-17 01:31:36 +00:00
range.h From Jeff Morriss: SSCOP over UDP and SSCF-NNI support. 2004-11-24 02:59:49 +00:00
report_err.h
req_resp_hdrs.c
req_resp_hdrs.h
sha1.c
sha1.h
sigcomp-udvm.c Bugfixes 2004-11-28 19:39:19 +00:00
sigcomp-udvm.h Add NL to last line 2004-12-20 10:56:25 +00:00
sigcomp_state_hdlr.c Add NL to last line 2004-12-20 10:56:25 +00:00
sigcomp_state_hdlr.h Don't free string that don't need it. Added filter possibillity on Partial state 2004-11-23 22:02:00 +00:00
slab.h
sminmpec.c Change "Ericsson" string 2004-11-24 12:23:26 +00:00
sminmpec.h Change "Ericsson" string 2004-11-24 12:23:26 +00:00
sna-utils.c
sna-utils.h
strutil.c Change number of bytes displayed in bytes_to_string to 48 to facilitate display of sha1 digest of 20 bytes. 2004-11-28 19:35:21 +00:00
strutil.h fix doxygen tags 2004-10-27 04:45:00 +00:00
t35.c
t35.h
tap.c
tap.h
timestamp.c
timestamp.h
to_str.c
to_str.h
tvbtest.c
tvbuff.c From Charles Levert: in "tvb_fake_unicode()", convert non-ASCII 2004-11-12 10:26:56 +00:00
tvbuff.h
value_string.c
value_string.h
xdlc.c
xdlc.h

README

$Id$

XXX - put something here