aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-miop.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.wmeier1-2/+2
Also: remove trailing whitespace for a number of files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39503 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-15Convert proto_tree_add_item() 'encoding' arg for field types FT_STRING, ↵wmeier1-1/+1
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). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39426 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-20Don't assign to a proto_item* if the value won't be used:wmeier1-4/+3
Fixes Coverity 903,935,968,985,997,999,1024,1025,1134; Remove unneeded #includes; Do whitespace cleanup. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37331 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-21#include <errno.h> & #include <math.h> not req'd;wmeier1-2/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36783 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-21Remove unneeded #include <ctype.h> and "isprint.h";wmeier1-36/+33
Do minor whitespace cleanup. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36782 f5534014-38df-0310-8fa8-9805f1628bb7
2010-04-06#include <string.h> not needed.wmeier1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32410 f5534014-38df-0310-8fa8-9805f1628bb7
2010-04-03Remove unneeded #include <stdio.h>wmeier1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32367 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-21Remove unneeded #includeskrj1-7/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29497 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()krj1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29446 f5534014-38df-0310-8fa8-9805f1628bb7
2009-07-06From Kovarththanan Rajaratnam via bug 3652:gerald1-108/+91
This patch protects against malformed Unique ID lengths (>= 252 bytes) and defer all tvb_xxx related calls to when we actually need them. This allows us to dissects as much as possible before bailing out (in case of a malformed length). From me: Add a link to the protocol specification. Remove packet-miop.h along with some struct definitions. (Don't tvb_memcpy over structs!) Remove some more tvbuffs. Don't call proto_item_add_subtree if we're not going to use the trees. Call proto_tree_add_item instead of proto_tree_add_text Remove a bunch of unused ett_ variables. Add an expert item for the protocol version. Register the field array with the correct length. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28963 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-05Remove stuff that's really "non-public" from .h files. wmeier1-0/+1
(Include in .c files as needed). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27616 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-05Minor rework of reg_handoff ...wmeier1-10/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27612 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-03From Alvaro Vega Garcia:etxrab1-0/+345
Support ZIOP and MIOP (specialized CORBA protocols). https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3238 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27589 f5534014-38df-0310-8fa8-9805f1628bb7