aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-10-20From Gerasimos Dimitriadis:Anders Broman1-189/+244
DTAP: Various enhancements. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4142 svn path=/trunk/; revision=30628
2009-10-20Updated decoding of GMM Cause to V8.6.0, i.e. added cause code 0x19 - "Not ↵Anders Broman1-65/+75
authorized for this CSG". Changed to use a range_string. Based on https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4132 svn path=/trunk/; revision=30627
2009-10-20Add packet-omron-fins.cJörg Mayer1-0/+1
svn path=/trunk/; revision=30626
2009-10-20From Matt Watchinski: OMRON-FINS dissectorBill Meier3-1/+4000
(with some restructuring and cleanup by me). https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3226 svn path=/trunk/; revision=30625
2009-10-19From Jakub Zawadzki via ↵Jeff Morriss1-204/+254
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4140 : There is emem_header_t struct, so IMHO is better to use struct instead of global variables. Split emem_alloc() into two functions: emem_alloc_chunk and emem_alloc_glib. Current allocator is available in emem_header_t.memory_alloc It should be easier to develop new memory allocator and maintain current. It might also give some speedup (we don't need to check mem->debug_use_chunks every time :) From me: Initialize emem_header_t.trees. Some indentation cleanup. svn path=/trunk/; revision=30624
2009-10-19Adding RFC 2228 FTP replies.Jaap Keuter1-0/+15
svn path=/trunk/; revision=30623
2009-10-19From Jouni Malinen:Jaap Keuter1-12/+12
WPS encodes Bool attributes as single-octet values. Selected Registrar attribute is parsed correctly (packet-wps.c), but many of the other Bool attributes are marked incorrectly to use two-octet fields. This results in showing incorrect octets for some of the attributes and incorrectly marking frames invalid if a Bool attribute is included as the last attribute in a WPS IE. svn path=/trunk/; revision=30622
2009-10-19Make it actually work with glib < 2.10Jeff Morriss1-0/+6
svn path=/trunk/; revision=30621
2009-10-19Made some functions static.Stig Bjørlykke2-2/+3
svn path=/trunk/; revision=30620
2009-10-19Removed redundant redeclaration of optind.Stig Bjørlykke1-1/+0
svn path=/trunk/; revision=30619
2009-10-19Removed redundant redeclaration of delete_avpl().Stig Bjørlykke1-6/+0
svn path=/trunk/; revision=30618
2009-10-19Renamed tvb_new -> new_tvb to avoid name collision.Stig Bjørlykke2-23/+23
svn path=/trunk/; revision=30617
2009-10-19Made some functions static.Stig Bjørlykke3-6/+6
svn path=/trunk/; revision=30616
2009-10-19Use unsigned int for flags to avoid another warning.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=30615
2009-10-19Added cast to (void *) for pointers used in printf format %p.Stig Bjørlykke1-17/+17
svn path=/trunk/; revision=30614
2009-10-19Various code cleanup:Stig Bjørlykke1-68/+117
- Added standard copyright boiler plate - Made all local functions static - Added several checks for valid pointers - Fixed some variable shadowing - Fixed some printf formats (%p) - Removed unused variables svn path=/trunk/; revision=30613
2009-10-18Neither num_registers nor max_registers in a dfilter_t are everGuy Harris2-3/+3
negative; make them unsigned. svn path=/trunk/; revision=30612
2009-10-18new_octet_aligned_subset_bits(): call tvb_ensure_bytes_exist() beforeJeff Morriss1-60/+69
attmepting to malloc memory to ensure we've been asked to decode a reasonable number of bits (and thus are asking for a reasonable number of bytes from malloc()). That should fix the fuzz failure in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4138 Add a comment to new_octet_aligned_subset() asking why we're resetting the length to tvb_length()--that means we'll never throw an exception. svn path=/trunk/; revision=30611
2009-10-18Fixed a data type and removed a shadowed variable.Stig Bjørlykke1-3/+1
svn path=/trunk/; revision=30610
2009-10-18Fixed data type for a buffer.Stig Bjørlykke1-2/+2
svn path=/trunk/; revision=30609
2009-10-18Fixed data type for asciibuf.Stig Bjørlykke1-2/+2
svn path=/trunk/; revision=30608
2009-10-18Make it build on glib < 2.10.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=30607
2009-10-18Removed unused argument in v2_attrval2str().Stig Bjørlykke1-5/+4
svn path=/trunk/; revision=30606
2009-10-18Remove a shadowed variable.Stig Bjørlykke1-2/+0
svn path=/trunk/; revision=30605
2009-10-18Use %f for double in printf.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=30604
2009-10-18Use correct type for udp port preference.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=30603
2009-10-18Use %f for double in printf.Stig Bjørlykke1-3/+3
Made some functions static. svn path=/trunk/; revision=30602
2009-10-18Don't se_alloc() the conversation structure which contains pointers to twoJeff Morriss2-44/+56
g_hash_tables that we then try to free in ros_reinit(). Instead, g_malloc() the conversation structure and free it (along with the hash tables) in the reinit function. svn path=/trunk/; revision=30601
2009-10-18Made some functions static.Stig Bjørlykke1-2/+2
svn path=/trunk/; revision=30600
2009-10-18dcerpc_fragment_key_copy(): don't se_alloc() the key:Jeff Morriss1-1/+7
- it contains pointers to a couple malloc()'d addresses - it is inserted in the fragment table (the contents of which are g_free()'d in free_all_fragments()) Instead, do like fragment_key_copy() and use a g_slice or g_chunk, depending on the glib version. svn path=/trunk/; revision=30599
2009-10-18[Automatic manuf and enterprise-numbers update for 2009-10-18]Gerald Combs2-1/+201
svn path=/trunk/; revision=30596
2009-10-18Fix an off-by-one error (<= instead of <) that caused the dissector toJeff Morriss1-1/+1
reference uninitialized memory, possibly leading to a crash (found by turning memory scrubbing on). svn path=/trunk/; revision=30595
2009-10-18From Kip McAtee:Jaap Keuter1-7/+17
Suppress spurious packet length error message for LCP or IPCP in PPPoE. svn path=/trunk/; revision=30594
2009-10-18From Jouni Malinen:Jaap Keuter1-0/+68
IEEE 802.11k added a new Action frame category: Public Action. I'm proposing some initial code to recognize this and to add a placeholder for switch statement that can be used for processing vendor specific Public Action frames (they are defined in IEEE 802.11w). svn path=/trunk/; revision=30593
2009-10-18Use gtk_combo_box in GTK v 2.4Anders Broman1-25/+19
svn path=/trunk/; revision=30592
2009-10-18Default to number of CPUs availableKovarththanan Rajaratnam1-1/+1
svn path=/trunk/; revision=30591
2009-10-18Removed non-ASCII characters.Stig Bjørlykke2-4/+4
svn path=/trunk/; revision=30590
2009-10-17Fix memory leak: re-init defragmentation tables each time a capture file is ↵Bill Meier1-9/+11
(re) opened. svn path=/trunk/; revision=30589
2009-10-17From Marton Nemeth:Stig Bjørlykke8-1/+213
Add the ability to open JPEG/JFIF files directly. From me: Some code cleanup + add new file to cmake. svn path=/trunk/; revision=30588
2009-10-17From Joe Eykholt:Jaap Keuter3-9/+93
It would be nice to have dissection of the Fibre-Channel FCP "Sequence retransmission request" (SRR) request. This is like an FC ELS request, but it has FC type FCP, so it's a little strange. It seemed like the best place to put it is in packet-fcp.c but a slight hook is needed in packet-fc.c to recognize that packet-fcp is the correct dissector. svn path=/trunk/; revision=30587
2009-10-16Putting the AC_CANONICAL_xxx macro(s) *after* AC_INIT seems to work, andGuy Harris1-3/+14
could fix cross-compilation problems, according to Jeff Morriss, and "make dist" seems to build a ustar archive after we do that, so give that a try. (I don't have any cross-compilers handy to test whether it fixes cross-compilation or not.) svn path=/trunk/; revision=30586
2009-10-16Based on an issue presented in ↵Jeff Morriss1-3/+19
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4050 : Add an item and an expert info (warning) if there's more data in the tvb than the length parameter indicates. svn path=/trunk/; revision=30585
2009-10-16Another Oops: #include <stdio.h> *is* required .....Bill Meier1-0/+2
svn path=/trunk/; revision=30584
2009-10-16fid_table never used: remove it (Fixes very minor memory leak).Bill Meier1-2/+0
svn path=/trunk/; revision=30583
2009-10-16Don't init fc_fragment_table twice via registered_init_routines...Bill Meier1-7/+0
svn path=/trunk/; revision=30582
2009-10-16sna_reassembled_table never used: remove it;Bill Meier1-3/+2
Move register_init_routine call to proto_register as per convention... svn path=/trunk/; revision=30581
2009-10-16data_reassembled_table not used: remove it.Bill Meier2-7/+3
svn path=/trunk/; revision=30580
2009-10-16Introduce an optional (ep_ and se_) memory scrubber. When activated (exportJeff Morriss1-20/+86
WIRESHARK_DEBUG_SCRUB_MEMORY to turn it on) this function initializes all allocated memory to 0xBADDCAFE and all freed memory to 0xDEADBEEF. (Of course the allocation functions like ep_alloc0() re-initialize the allocated memory back to 0.) svn path=/trunk/; revision=30579
2009-10-16Fix memory leak; init fragment_table & reassembled_table in registered init fcn;Bill Meier1-10/+5
(Tables were being initted only at Wireshark startup in proto_register) svn path=/trunk/; revision=30578
2009-10-16From Joe Eykholt:Jaap Keuter1-5/+8
The FIP dissector shows the VFID descriptor as a 2-byte string instead of the correct UINT16 type. Also, the name should be changed to just "VFID". The "Fabric Name" field of the Fabric descriptor was incorrectly labeled. Also, some lines grew to longer than 80 columns due to other patches. svn path=/trunk/; revision=30577