summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-10-07Clean up properly when we can't find a radius $INCLUDE regardless of theEvan Huus1-5/+11
state of errno. Don't treat it as a fatal parse error because it isn't, so we keep parsing the rest of the dictionaries even if one is missing. svn path=/trunk/; revision=45361
2012-10-07Don't destroy the in-memory radius dictionary if we hit a parse error:Evan Huus1-57/+1
- If it's something as simple as a missing $INCLUDE then we probably still want whatever we could parse - We weren't doing it consistently anyways - There were a whole bunch of places where we were using it regardless of whether or not the parse failed, leading to read-after-free errors. svn path=/trunk/; revision=45360
2012-10-06Clean up better if we can't open a radius dictionary included by anotherEvan Huus1-0/+3
radius dictionary. One of many issues with the way we load radius dictionaries. Part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7803 svn path=/trunk/; revision=45359
2012-10-06Add modelines to packet-radius, and fix a bit of indentation.Evan Huus1-5/+18
svn path=/trunk/; revision=45358
2012-10-06Get QMake to build our .qm files.Gerald Combs1-0/+22
svn path=/trunk/; revision=45356
2012-10-06Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7802 :Pascal Quantin1-1/+1
Avoid an infinite loop when number_of_dup_tsns is equal to 65535 svn path=/trunk/; revision=45355
2012-10-06Work around bug 7803 by not freeing the old name value until after it's beenEvan Huus1-2/+24
replaced in the key-set of the hash table. This doesn't really provide proper behaviour, it just stops us from accessing freed memory. Also, add modelines. svn path=/trunk/; revision=45354
2012-10-06Unify the bzr and git ignore files - they're the exact same format,Evan Huus2-135/+3
so do any necessary cross-pollination and then just make one a symlink to the other. svn path=/trunk/; revision=45353
2012-10-06Ignore qm files in bzr and git.Evan Huus2-0/+2
svn path=/trunk/; revision=45352
2012-10-06Don't store qm files in svn: they're generated from the ts files and get removedEvan Huus2-0/+0
on a make clean. svn path=/trunk/; revision=45351
2012-10-06Reduce the contrast for many of the rules. Most of the color values wereGerald Combs1-22/+22
taken from http://emilis.info/other/extended_tango/ . svn path=/trunk/; revision=45350
2012-10-06Remove unneeded code ("[set_but_unused]").Bill Meier1-3/+0
svn path=/trunk/; revision=45347
2012-10-06ICMP: Icmp was a mad mix of different indentation styles.Ronnie Sahlberg1-1479/+1732
indent -kr -i8 for now to make it use a consistent style No code changes, only formatting in this patch svn path=/trunk/; revision=45346
2012-10-06Minor changes:Bill Meier1-84/+78
- proto_reg_handoff...() called only once: simplify; - move proto_register...() to just before proto_reg_handoff...() as per convention; - misc. svn path=/trunk/; revision=45345
2012-10-06Remove unused variable caught by cppcheck.Evan Huus1-2/+1
svn path=/trunk/; revision=45344
2012-10-06ICMP request/response matching fixesRonnie Sahlberg1-39/+91
Change icmp request/response matching to be more aligned to other matching strategies and use two tables. One table for first time we visit a packet and a second table to track all confirmed matches. svn path=/trunk/; revision=45343
2012-10-06Give up trying to parse those lines - the format has changed and its tooMartin Mathieson1-73/+0
complicated now. svn path=/trunk/; revision=45342
2012-10-06Look up once and store the RLC and PDCP dissectors.Martin Mathieson2-10/+11
svn path=/trunk/; revision=45341
2012-10-06Vastly improve the debug presentation( of trees)+. Jaap Keuter2-10/+34
svn path=/trunk/; revision=45340
2012-10-06Fix error caught by valgrind where we were running off the end of aEvan Huus1-7/+10
variable because we were passing the address of a single guint8 as a char*. Work around it by making the guint8 an array and filling the last element with 0 as if it were a null-terminated string. svn path=/trunk/; revision=45339
2012-10-06pinfo is now usedPascal Quantin1-1/+1
svn path=/trunk/; revision=45338
2012-10-06Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7801 :Pascal Quantin1-3/+13
Ensure that the sub-type length is at least 2 (for sub-type and length fields). Prevents an infinite loop when the length equals 0. svn path=/trunk/; revision=45337
2012-10-06Use ellipses rather than crosses made from lines to show data points,Martin Mathieson1-84/+105
and no longer connect the data points with lines. Because this is slower than before, increase the zoom multipler. The (very) slow part is filling in the circles - using cairo_set_tolerance() with 1.0 doesn't do anti-aliasing but looks good enough (halfing the time for this operation). svn path=/trunk/; revision=45336
2012-10-06Fix some indentation, add missing braces, and don't bother callingMartin Mathieson1-21/+19
cairo_set_width() inside the loops while doing the axes. svn path=/trunk/; revision=45335
2012-10-05We are already saving size and maximized state by default. Save position too.Chris Maynard1-1/+1
svn path=/trunk/; revision=45334
2012-10-05Add a capture_file * element to packet_range_t and pass it explicitly inGerald Combs10-62/+76
packet_range_init(). Get rid of global cfile references in packet-range.c. C++-ize packet-range.h. Shuffle some includes around. svn path=/trunk/; revision=45333
2012-10-05Try to describe icmp.resp_in and icmp.resp_to more clearly.Gerald Combs1-5/+5
svn path=/trunk/; revision=45332
2012-10-05A minor modification to Stephen Fisher's r34265 patch to [attempt to] ↵Chris Maynard1-7/+5
resolve bug 553. This change takes into account that viewable_area.[x|y] may not be 0,0. Will this finally fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=553 ?Unknown, but I am unable to reproduce it. svn path=/trunk/; revision=45331
2012-10-05Fix copy/paste errorPascal Quantin1-2/+2
svn path=/trunk/; revision=45330
2012-10-05The sFlow specification says there's an address type "unknown", with anGuy Harris1-10/+41
address type value of 0, and with zero bytes of address; handle it explicitly, and don't treat it as an error. In the sFlow dissectors, do all the checks for "is this an sFlow packet?" *before* we do anything to the columns and the protocol tree. svn path=/trunk/; revision=45329
2012-10-04Remove the previous distribution file.Gerald Combs1-1/+1
svn path=/trunk/; revision=45328
2012-10-04Upgrade NAS dissector to v11.4.0 (Release 11)Pascal Quantin4-53/+346
svn path=/trunk/; revision=45325
2012-10-04fix fuzz test failures in sflowMartin Kaiser1-26/+26
in dissect_sflow_245_address_type(), don't reset the offset to 0 when the address family is unkown bring up an expert info instead and increment offset by the number of bytes processed svn path=/trunk/; revision=45324
2012-10-04Add a "patch-bzip2" target which creates a patch from the previous microGerald Combs1-0/+22
release. svn path=/trunk/; revision=45323
2012-10-04From Sven Eckelmann:Jaap Keuter1-0/+2
Fix dissection of IEEE 802.11 Channel Switch Announcement element. svn path=/trunk/; revision=45321
2012-10-04Modify use of GtkTable in preparation for using GtkGrid instead if GTK3.Bill Meier1-79/+49
Specifically: - keep track of number of table rows instead of using gtk_table_get_size(); - remove call to gtk_table_resize() [not required]. svn path=/trunk/; revision=45320
2012-10-04Fix tpyo.Guy Harris1-1/+1
svn path=/trunk/; revision=45318
2012-10-04For VS 2010 EE, when building 64-bit, indicate why you need the SDK (toGuy Harris1-9/+14
compilers that generate 64-bit code). svn path=/trunk/; revision=45317
2012-10-04Fix swapped column headings.Guy Harris1-3/+3
svn path=/trunk/; revision=45316
2012-10-04Clarify what the problem is with building PortableApps or U3 packagesGuy Harris1-2/+4
with Visual Studio Express Edition - the resulting package cannot be self-contained and will require that the Visual C++ Redistributables be installed on any machine into which you plug the portable Wireshark package, which kinda defeats the purpose of a portable package (plug it in and go). svn path=/trunk/; revision=45315
2012-10-04Update translation filesAlexis La Goutte2-112/+1302
Updating 'qtshark_de.ts'... Found 198 source text(s) (135 new and 63 already existing) Kept 9 obsolete entries Updating 'qtshark_fr.ts'... Found 198 source text(s) (135 new and 63 already existing) Kept 9 obsolete entries svn path=/trunk/; revision=45314
2012-10-04This is basically a rewrite from Jakub Zawadzki.Martin Mathieson2-223/+94
Rather than store the FrameRecord entries in a sorted linked list, instead use an unsorted GPtrArray, then sort it all at once. Also, there is no longer the option to limit the amount of sorting (and memory used), but a new option means we can avoid writing the output file altogether if the input file is found already to be in order. svn path=/trunk/; revision=45313
2012-10-04Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte4-50/+41
svn path=/trunk/; revision=45312
2012-10-04For each toolchain version, split the stuff about Microsoft.VC{n}.CRTGuy Harris1-49/+63
and vcredist_{processor}.exe into three paragraphs, and put the bit about vcredist_{64-bit processor}.exe into the paragraph about 64-bit targets. svn path=/trunk/; revision=45311
2012-10-04try to fix usb-related fuzz test crashesMartin Kaiser1-3/+1
in dissect_usb_interface_descriptor() and dissect_usb_endpoint_descriptor, the offset should be incremented depending on the number of bytes we dissected, not based on the len field (len field==0 would then cause an endless loop) also fixed one occurrence of old_offset-offset, that's probably a typo, the values will always be negative... svn path=/trunk/; revision=45310
2012-10-04Simplify use of GtkTable in preparation for using GtkGrid instead if GTK3.Bill Meier1-51/+60
Specifically: remove/replace use of gtk_table_resize(). Also: minor indentation and whitespace cleanup; svn path=/trunk/; revision=45309
2012-10-04From Alexander KoeppeMartin Kaiser1-1/+251
support for EPRT command as defined in RFC 2428 (IPv4 addresses only) from me simplify the code, expert info must not be under if(tree) based on the submission in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7729 svn path=/trunk/; revision=45308
2012-10-04Note that we redistribute "using Visual C++ Redistributable Package" forGuy Harris1-26/+23
*all* 64-bit builds, regardless of whether you have Visual Studio Express Edition or not. You only need to download the redistributable package when you're using the Express Edition or are doing 64-bit builds. svn path=/trunk/; revision=45307
2012-10-04Reflect current reality as it exists in Makefile.nmake - even withGuy Harris1-23/+111
MSVC2008 and MSVC2010, when doing 32-bit builds, with the non-Express versions we "Install a particular Visual C++ assembly as a private assembly for the application", if for no other reason than to support "portable" versions of Wireshark, where the application is provided a a completely self-contained directory tree on a medium such as a flash drive, and where there is no installer to install anything on the target machine. For 64-bit builds, we currently don't support a "portable" version, so we "Use the Visual C++ Redistributable Package". Convert tabs to spaces. svn path=/trunk/; revision=45306
2012-10-04Expand comments about the "making the C runtime available to Wireshark"Guy Harris1-6/+66
stuff. svn path=/trunk/; revision=45305