aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2005-08-12more gmemchunk -> se_alloc() improvementssahlberg3-61/+11
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15312 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-12more gmemchunk -> se_alloc() improvementssahlberg1-35/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15311 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-12more gmemchunk -> se_alloc() improvementssahlberg1-22/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15310 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-12some more gmemchunk -> se_alloc() improvementssahlberg2-36/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15309 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-12remove some unused variables from scsisahlberg2-29/+3
change two gmemchunks in smtp to se_alloc() and remove one now redundant init routine. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15308 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-12add missing include to scsisahlberg2-28/+5
change two gmemchunks to se_alloc() for msproxy git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15307 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-12EDS/EAPS/EPRS mostly finished - several fixmes remainjmayer1-23/+158
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15306 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-12add some symbols to libethereal.defsahlberg1-0/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15305 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-12oops forgot to delete a variablesahlberg1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15304 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-12 get rid of some unnessecary GMemChunks.sahlberg1-38/+4
These GMemChunks are used here because : 1, GMemChunks are cheap to allocate and cheap to free 2, We always unconditionally free the entire chunk When and only when we load a new capture. ==> se_alloc() does exactly the same thing but with significantly less code ==> se_alloc() is a much better fit to out allocation requirements and useage than GMemChunks git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15303 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-12Fix handling of ASAP_ENDPOINT_KEEP_ALIVE message.tuexen1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15302 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-12Add beginning of seasonal allocation in addition to the existing ephemeral ↵sahlberg5-21/+143
ones. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15301 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-12In an "address" structure, "data" is a pointer; dereferencing "&data"guy1-3/+5
doesn't give you the address value, it gives a pointer to the address value. Don't assume that pointer is aligned on a 32-bit boundary. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15300 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-12Beginnings of a EDP, ESRP and EAPS dissectorjmayer2-0/+541
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15299 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-11avoid throwing a malformed packetlego2-0/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15298 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-11Add Extreme OUI, reorder alphabeticallyjmayer1-6/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15297 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-11From Rene Pilz:etxrab1-6/+9
The MCC/MNC in de_gmm_rai is not correct decoded git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15296 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-11From W. Borgert:etxrab3-23/+89
three trivial corrections for the GIOP dissector: - allow filtering GIOP exceptions, e.g. "giop.replystatus = 2" or "giop.exceptionid matches MyError", older patch at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=314835 - show IDLs sequence<octet> more compact, not one line per octet, older patch at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=314836 - decode _is_a requests and replies, older patch at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=314871 With a change to not create a malformed packet in the "stub data". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15295 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-11Change a switch into an "if else if else if else" that fixes the "too large ↵lego2-127/+227
for switch" in HP-UX 10.20 . The generated file has a lot of indentation changes due probably to a change in asn2eth. The underlying reason for which I added this code (dissect_ber_integer() would not add as a "filterable" field if it is larger than 4 bytes, should be handled in dissect_ber_integer() ) remains there. Should we change dissect_ber_integer() itself to make sure that a 5 byte unsigned integer which fits in 4 bytes gets added to the tree as "filterable"? git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15294 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-11Add notes about SCSI, BER, and ONC RPC bugs.gerald1-5/+29
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15293 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-11Add checks for infinite loops. Fixes recent Buildbot failures.gerald1-2/+21
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15292 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-11Fix for bug 342sahlberg1-0/+9
If we encounter a frame we have already seen (i.e. visited==1) but we can not fing the ISCSI command inside the _matched table, this just means there were no response pdu nor any data pdu with the S bit set. So, then just pick the cdata structure up from the _unmatched table instead. The SCSI CDB dissector really really want a real CDATA structure passed to it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15291 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-11We use heuristics to detect what MIGHT be onc-rpc packets.sahlberg1-2/+9
as heuristics they are not 100% perfect, else they would not be heuristics. IF the preference option "Dissect unknown RPC program numbers" are enabled, add a sanity check to see that program_version is <=10 (no one uses versions >10 ?) to avoid trying to add 2 bilion different versions to the program->version linked list in case we mistook the packet for ONC-RPC and the "version" field contains a huge random number. This bug would only trigger a hang/crash IFF the option above is enabled. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15290 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-11fix several bugs where we might dereference a null pointersahlberg1-10/+19
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15289 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-11some more tcv_get_stringz() to tvb_get_ephemeral_stringz() conversionssahlberg2-12/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15288 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10Add bug IDs to the list of bugs fixed.gerald1-0/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15287 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10removed tons of MSVC const related warnings.ulfl19-47/+47
This might at some places interfere with the changes for gcc4, we might have to negotiate in that case :-) Please note that a lot of these warnings were GTK1.x related only! git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15286 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10Fix a typo.guy1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15285 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10more snprintf() -> g_snprintf() replacementsulfl1-18/+14
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15284 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10don't warn the user about the WinPcap 3.1 release version as being unknownulfl1-1/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15283 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10Remove proprietary information at the author's request.gerald1-749/+87
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15282 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10ep_tvb_get_string -> tvb_get_ephemeral_stringgerald1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15281 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10Add an item for the SLIMP3 overflow.gerald1-0/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15280 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10Don't overflow a buffer. This might fix bug 327.gerald1-26/+31
Don't print non-pritable characters. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15279 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10When we receive junk data, mark it as a malformed packet instead ofgerald1-8/+14
a dissector bug. This keeps buildbot from opening unnecessary bugs during fuzz testing. When we create a new scsi_task_data_t struct make sure all of its members are initialized. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15278 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10ep_tvb_get_string() -> tvb_get_ephemeral_string().gerald1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15277 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10tvb_get_stringz() to tvb_get_ephemeral_stringz() conversionsahlberg2-5/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15276 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10tvb_get_stringz() to tvb_get_ephemeral_stringz() conversion.sahlberg3-50/+22
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15275 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10convert to tvb_get_ephemeral_stringz() and fix an obvious memleaksahlberg1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15274 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10add new function tvb_get_ephemeral_stringz()sahlberg3-0/+44
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15273 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10convert some tvb_fake_unicode() to tvb_get_ephemeral_faked_unicode()sahlberg7-54/+19
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15272 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10rename ep_tvb_fake_unicode() to tvb_get_ephemeral_faked_unicode() and update ↵sahlberg4-31/+50
the README file. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15271 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10rename ep_tvb_get_string() to tvb_get_ephemeral_string() asnd update the ↵sahlberg51-134/+149
documentation in README.developer git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15270 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10ememify tywo more tvb_get_string()sahlberg1-4/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15269 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-09Add a note about the IrDA dissector crash.gerald1-2/+8
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15268 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-09Make sure we initialize our iap_conv struct _before_ we go digginggerald1-4/+4
into a tvbuff. This keeps us from leaving junk data behind if we throw an exception. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15267 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-09"g_locale_to_utf8()" returns a "gchar *", and the string it returns isguy1-1/+1
dynamically allocated. Don't assign its result to "const gchar *". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15266 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-09The "proto" argument to "conversation_get_proto_data()" andguy1-6/+6
"conversation_add_proto_data()" is supposed to be a protocol ID, as returned by "proto_register_protocol()". In addition, there are two different types of protocol data being attached to a conversation; use different protocol IDs for them, so we don't misinterpret an "iap_conversation_t" as a "lmp_conversation_t" or vice versa. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15265 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-08various code cleanup:ulfl109-622/+258
-use g_snprintf instead of sprintf and snprintf -use g_strdup_printf where appropriate -remove #include "snprintf.h" (as only g_snprintf should be used) -replace some more alloc/realloc/calloc/free with their glib pendants git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15264 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-08fix some MSVC const warningsulfl5-7/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15263 f5534014-38df-0310-8fa8-9805f1628bb7