summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-sdp.c
AgeCommit message (Collapse)AuthorFilesLines
2012-02-06Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-20/+1
svn path=/trunk/; revision=40903
2012-02-01Collect and use some SRTP information.Anders Broman1-3/+59
svn path=/trunk/; revision=40794
2012-01-30Fix infinite loop reported in ↵Jeff Morriss1-74/+79
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6778 : SDP_CRYPTO: Give up (and display an expert info) if we don't find the colon separating the key-method and the key-info. Reindent this area of code a bit. Remove tabs in some places for consistency. svn path=/trunk/; revision=40771
2012-01-26Dissect the crypto attribute.Anders Broman1-291/+448
svn path=/trunk/; revision=40732
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-1/+1
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-10-15Convert proto_tree_add_item() 'encoding' arg for field types FT_STRING, ↵Bill Meier1-40/+40
FT_STRINGZ, FT_UINT_STRING as follows: 1. If there's no character encoding (ENC_ASCII, ...) specified then use ENC_ASCII. 2. For all but FT_UINT_STRING, always use ENC_NA (replacing any existing True/1/FALSE/0 /ENC_BIG_ENDIAN/ENC_LITTLE_ENDIAN). svn path=/trunk/; revision=39426
2011-10-11Avoid longjmp warning by making adding volatile.Martin Mathieson1-4/+4
svn path=/trunk/; revision=39364
2011-10-07- Put a TRY/CATCH block around dissect_h264_nal_unit() in caseAnders Broman1-7/+11
a bogus nal unit was sent. - Delete an unused hf entry. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6407 svn path=/trunk/; revision=39305
2011-10-04Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier1-2/+2
reference an hf item (in hf[] with types: FT_NONE FT_BYTES FT_IPV6 FT_IPXNET FT_OID Note: Encoding field set to ENC_NA only if the field was previously TRUE|FALSE|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN svn path=/trunk/; revision=39260
2011-06-19Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.Bill Meier1-2/+0
svn path=/trunk/; revision=37716
2011-05-20Add #include <stdlib.h> to files which reference fcns declared in stdlib.h;Bill Meier1-4/+7
(In many cases I previously incorrectly removed the #include <stdlib.h>). svn path=/trunk/; revision=37334
2011-04-12Put back in one of the includes removed in r36606: ctype.h for isdigit()Stephen Fisher1-0/+2
function. svn path=/trunk/; revision=36607
2011-04-12Don't assign to a proto_item * if the value won't be used: Coverity 1034;Bill Meier1-32/+28
Comment out two calls to tvb_)get_ephemeral_string since the result is never used: Coverity 1035; Also: Remove some unneeded #includes; Use consistent indentation. svn path=/trunk/; revision=36606
2011-03-23Remove static that was added to appease Coverity 753. 2016 bytes isn't too ↵Martin Mathieson1-1/+1
much to put on the stack. svn path=/trunk/; revision=36285
2011-03-22Make a struct static to avoid growing the stack too much.Martin Mathieson1-1/+1
Coverity CID 753. svn path=/trunk/; revision=36255
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-1/+1
keys to have _uint in their names, to match the routines that handle dissector tables with string keys. (Using _port can confuse people into thinking they're intended solely for use with TCP/UDP/etc. ports when, in fact, they work better for things such as Ethernet types, where the binding of particular values to particular protocols are a lot stronger.) svn path=/trunk/; revision=35224
2010-12-06Fix various typos and spelling errors.Bill Meier1-1/+1
svn path=/trunk/; revision=35126
2010-11-08Use value_string_ext for RTP payload types.Anders Broman1-2/+2
svn path=/trunk/; revision=34804
2010-09-18Fix for bug 5220:Jaap Keuter1-13/+24
- Don't list codecs which are deleted by using port 0. - Use real concatenation i.s.o. reprint, which seems to fail in some circumstances. svn path=/trunk/; revision=34154
2010-08-11Update the comment.Anders Broman1-1/+1
svn path=/trunk/; revision=33777
2010-08-11Add a warning message if H264 profile-level-id parameter wasn'tAnders Broman1-3/+5
posible to parse. svn path=/trunk/; revision=33776
2010-08-11Added check for valid tvb before calling tvb_length().Stig Bjørlykke1-2/+4
svn path=/trunk/; revision=33774
2010-08-11Add a komment about the format of the MSRP path parameter.Anders Broman1-1/+17
svn path=/trunk/; revision=33764
2010-06-11Fix: Malformed packet if port is missing from path.Anders Broman1-11/+13
svn path=/trunk/; revision=33209
2010-05-28Move some code (including the optional objects) into libwsutilJeff Morriss1-1/+1
svn path=/trunk/; revision=33012
2010-05-10Indentation & whitespace cleanup (including: "4 space tabs" ==> spaces)Bill Meier1-48/+49
svn path=/trunk/; revision=32735
2010-04-14Fix the buildJeff Morriss1-11/+13
svn path=/trunk/; revision=32467
2010-04-14Use the sample rate from SDP info in RTP stream analysis.Anders Broman1-14/+28
svn path=/trunk/; revision=32466
2010-04-13Extract encoding name and sample rateAnders Broman1-10/+19
i.e "AMR/8000" This string can then be put in the hastable, extracted by packet-rtp.c and split into "AMR" and "8000" sample rate can then be a part of rtp_info and get rid of the clock rate maping. (I have some problem splitting the string, help apreciated) :-) svn path=/trunk/; revision=32455
2010-03-08Make tvb_pbrk_guint8() return the found needle.Anders Broman1-2/+2
svn path=/trunk/; revision=32144
2010-01-22Fixes for gcc -Wshadow warnings; Fix indentation and do other minor cleanup ↵Bill Meier1-348/+348
in a few cases. svn path=/trunk/; revision=31617
2010-01-13From Didier Gautheron:Anders Broman1-4/+2
check_col.diff Remove redundant calls to check_col() if it guards only one columns function with one parameter after the column type. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4394 svn path=/trunk/; revision=31519
2009-11-23Guard #include <sys/types.h> with HAVE_SYS_TYPES_H.Stig Bjørlykke1-0/+2
svn path=/trunk/; revision=31053
2009-11-19Instead of initializing the Media Format name to NULL, set it toGerald Combs1-1/+2
"Unknown". This keeps us from crashing on some platforms if we have an unknown media format ID. svn path=/trunk/; revision=31011
2009-10-06From Didier Gautheron:Anders Broman1-1/+2
ep memory can't be used for tvbs defined as data_source. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4054 svn path=/trunk/; revision=30376
2009-09-24* Prefer col_append_str instead of col_append_fstr for constant stringsKovarththanan Rajaratnam1-2/+1
* Remove check_col guards svn path=/trunk/; revision=30127
2009-08-26(FWIW) One step towards including stdio.h & stdlib.h only when req'd.Bill Meier1-0/+1
svn path=/trunk/; revision=29568
2009-08-21Sanitize epan includesKovarththanan Rajaratnam1-1/+1
svn path=/trunk/; revision=29499
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()Kovarththanan Rajaratnam1-1/+1
svn path=/trunk/; revision=29446
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-2/+2
(1) Trailing/leading spaces are removed from 'name's/'blurb's (2) Duplicate 'blurb's are replaced with NULL (3) Empty ("") 'blurb's are replaced with NULL (4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME, FT_PROTOCOL, FT_STRING and FT_STRINGZ field types (5) Only allow non-zero value for 'display' if 'bitmask' is non-zero svn path=/trunk/; revision=28770
2009-05-19Get info about media type(Video or not) a first step towards usage in rtp ↵Anders Broman1-2/+11
statistics. svn path=/trunk/; revision=28415
2009-05-13Apply some of the patches from:Anders Broman1-8/+4
http://wiki.wireshark.org/Development/Optimization svn path=/trunk/; revision=28356
2009-03-31Change to prevent "off-the-end" array access if invalid ↵Bill Meier1-0/+6
payload-type/media-format; Prevents crash as reported in bug 3373: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3373) svn path=/trunk/; revision=27917
2009-03-29Define certain fcns as static (if not used externally).Bill Meier1-1/+2
Also: whiule we're at it: - fix hf[] blurbs as appropriate to use NULL; - fix some indentation svn path=/trunk/; revision=27890
2009-03-29Handle the case when FMTP parameters are "out-of-order".Anders Broman1-72/+78
- - Use NULL instead of repeated text in blurb in hf[]; svn path=/trunk/; revision=27889
2009-03-29More size_t casts.Anders Broman1-2/+2
svn path=/trunk/; revision=27880
2009-03-29More size_t casts.Anders Broman1-4/+4
svn path=/trunk/; revision=27879
2009-02-06#include <conversation.h> not req'd ....Bill Meier1-1/+0
svn path=/trunk/; revision=27389
2009-02-02Set item generated.Anders Broman1-0/+1
svn path=/trunk/; revision=27352
2009-01-19Dissect H263-1998/2000 LevelAnders Broman1-1/+29
svn path=/trunk/; revision=27267