Commit graph

29613 commits

Author SHA1 Message Date
Jaap Keuter
34f6f0d9e9 From Jouni Malinen:
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-18 12:53:29 +00:00
Anders Broman
977e880afb Use gtk_combo_box in GTK v 2.4
svn path=/trunk/; revision=30592
2009-10-18 10:23:50 +00:00
Kovarththanan Rajaratnam
ea9fca6f4b Default to number of CPUs available
svn path=/trunk/; revision=30591
2009-10-18 08:33:40 +00:00
Stig Bjørlykke
2b54a78378 Removed non-ASCII characters.
svn path=/trunk/; revision=30590
2009-10-18 08:02:28 +00:00
Bill Meier
5d68a812ab Fix memory leak: re-init defragmentation tables each time a capture file is (re) opened.
svn path=/trunk/; revision=30589
2009-10-17 21:42:51 +00:00
Stig Bjørlykke
b7d116667f From Marton Nemeth:
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-17 20:56:06 +00:00
Jaap Keuter
80424e5ced From Joe Eykholt:
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-17 10:19:18 +00:00
Guy Harris
9c988fa854 Putting the AC_CANONICAL_xxx macro(s) *after* AC_INIT seems to work, and
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-16 22:28:25 +00:00
Jeff Morriss
bba7f0977c Based on an issue presented in 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-16 22:15:58 +00:00
Bill Meier
81a03aca75 Another Oops: #include <stdio.h> *is* required .....
svn path=/trunk/; revision=30584
2009-10-16 22:12:40 +00:00
Bill Meier
92c387a992 fid_table never used: remove it (Fixes very minor memory leak).
svn path=/trunk/; revision=30583
2009-10-16 22:05:49 +00:00
Bill Meier
09cfdb2530 Don't init fc_fragment_table twice via registered_init_routines...
svn path=/trunk/; revision=30582
2009-10-16 22:00:41 +00:00
Bill Meier
c4f5ac7cbc sna_reassembled_table never used: remove it;
Move register_init_routine call to proto_register as per convention...

svn path=/trunk/; revision=30581
2009-10-16 21:54:17 +00:00
Bill Meier
8e2f6a26cb data_reassembled_table not used: remove it.
svn path=/trunk/; revision=30580
2009-10-16 21:47:48 +00:00
Jeff Morriss
c293e4d024 Introduce an optional (ep_ and se_) memory scrubber. When activated (export
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-16 21:36:42 +00:00
Bill Meier
e2379fb4a1 Fix memory leak; init fragment_table & reassembled_table in registered init fcn;
(Tables were being initted only at Wireshark startup in proto_register)

svn path=/trunk/; revision=30578
2009-10-16 21:35:39 +00:00
Jaap Keuter
5ac529f786 From Joe Eykholt:
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
2009-10-16 21:26:51 +00:00
Bill Meier
f91657feb9 dtls_fragment_table never used; Remove it.
Remove unneeded #includes.
Adjust some indentation & spacing.

svn path=/trunk/; revision=30576
2009-10-16 21:17:57 +00:00
Bill Meier
7a43e8853b Oops: #include <stdio.h> *is* required .....
svn path=/trunk/; revision=30575
2009-10-16 16:01:20 +00:00
Bill Meier
92307f0dda (Trivial) Fix a typo in a comment.
svn path=/trunk/; revision=30574
2009-10-16 15:28:21 +00:00
Bill Meier
22c70b409a #include <stdio.h> not req'd; Fix some typos in text strings;
Adjust some indentation & spacing, reformat some long lines.

svn path=/trunk/; revision=30573
2009-10-16 14:37:40 +00:00
Bill Meier
f59bf50023 Use GSlice instead of GMemChunks for GLib >= 2.10. Fixes a memory leak.
svn path=/trunk/; revision=30572
2009-10-16 14:22:00 +00:00
Anders Broman
77c3bfd8c1 From Gerasimos Dimitriadis:
DTAP: Decoding of Text String in Network Name IE

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4121

svn path=/trunk/; revision=30571
2009-10-16 10:38:42 +00:00
Anders Broman
c6620d7770 More gtk_option_menu -> gtk_combo_box
svn path=/trunk/; revision=30570
2009-10-16 10:32:06 +00:00
Stig Bjørlykke
6f57facbe5 Added revision 30561 with changes to make it work.
svn path=/trunk/; revision=30569
2009-10-16 07:54:20 +00:00
Ronnie Sahlberg
2ee73bdf0c add proper support for infolevel 105 for ff
they are different.


svn path=/trunk/; revision=30568
2009-10-16 06:17:55 +00:00
Ronnie Sahlberg
9339cf747c add dissection of infolevel 0x105 for findfirst
this is actually identical to infolevel 0x104 in smb  while they differ 
in smb2


svn path=/trunk/; revision=30567
2009-10-16 05:31:43 +00:00
Jeff Morriss
71b8709d52 Use SE canaries when fuzz testing.
svn path=/trunk/; revision=30566
2009-10-15 22:01:59 +00:00
Jörg Mayer
2e82dd2966 everted
------------------------------------------------------------------------
r30561 | etxrab | 2009-10-15 18:57:26 +0200 (Do, 15 Okt 2009) | 1 line

gtk_option_menu -> gtk_combo_box
------------------------------------------------------------------------

as it broke compilation on my system and I don't know enough about gtk
to fix it properly.


In file included from /usr/include/gtk-2.0/gtk/gtk.h:224,
                 from /home/jmayer/work/wireshark/svn/trunk/gtk/scsi_stat.c:35:
/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47: warning: function declaration isn’t a prototype
/home/jmayer/work/wireshark/svn/trunk/gtk/scsi_stat.c: In function ‘scsistat_program_select’:
/home/jmayer/work/wireshark/svn/trunk/gtk/scsi_stat.c:122: error: ‘SCSI_STAT_PROG_LABEL_SBC’ undeclared (first use in this function)
/home/jmayer/work/wireshark/svn/trunk/gtk/scsi_stat.c:122: error: (Each undeclared identifier is reported only once
/home/jmayer/work/wireshark/svn/trunk/gtk/scsi_stat.c:122: error: for each function it appears in.)
/home/jmayer/work/wireshark/svn/trunk/gtk/scsi_stat.c:125: error: ‘SCSI_STAT_PROG_LABEL_SSC’ undeclared (first use in this function)
/home/jmayer/work/wireshark/svn/trunk/gtk/scsi_stat.c:128: error: ‘SCSI_STAT_PROG_LABEL_MMC’ undeclared (first use in this function)
/home/jmayer/work/wireshark/svn/trunk/gtk/scsi_stat.c:129: error: ‘SCSI_DEV_MMC’ undeclared (first use in this function)
/home/jmayer/work/wireshark/svn/trunk/gtk/scsi_stat.c: In function ‘gtk_scsistat_init’:
/home/jmayer/work/wireshark/svn/trunk/gtk/scsi_stat.c:229: warning: assignment discards qualifiers from pointer target type
/home/jmayer/work/wireshark/svn/trunk/gtk/scsi_stat.c:234: warning: assignment discards qualifiers from pointer target type
/home/jmayer/work/wireshark/svn/trunk/gtk/scsi_stat.c:239: warning: assignment discards qualifiers from pointer target type
/home/jmayer/work/wireshark/svn/trunk/gtk/scsi_stat.c:244: warning: assignment discards qualifiers from pointer target type
/home/jmayer/work/wireshark/svn/trunk/gtk/scsi_stat.c:249: warning: assignment discards qualifiers from pointer target type
/home/jmayer/work/wireshark/svn/trunk/gtk/scsi_stat.c: At top level:
/home/jmayer/work/wireshark/svn/trunk/gtk/scsi_stat.c:333: warning: comma at end of enumerator list
/home/jmayer/work/wireshark/svn/trunk/gtk/scsi_stat.c: In function ‘gtk_scsistat_cb’:
/home/jmayer/work/wireshark/svn/trunk/gtk/scsi_stat.c:388: error: ‘severity_combo_box’ undeclared (first use in this function)
/home/jmayer/work/wireshark/svn/trunk/gtk/scsi_stat.c:343: warning: unused variable ‘menu_item’
/home/jmayer/work/wireshark/svn/trunk/gtk/scsi_stat.c: At top level:
/home/jmayer/work/wireshark/svn/trunk/gtk/scsi_stat.c:452: warning: no previous declaration for ‘register_tap_listener_gtkscsistat’
make[2]: *** [gtk/CMakeFiles/ui.dir/scsi_stat.c.o] Error 1



svn path=/trunk/; revision=30565
2009-10-15 21:44:07 +00:00
Jörg Mayer
6a8552ff21 The disables features problem was fixed by previous commit.
svn path=/trunk/; revision=30564
2009-10-15 21:26:59 +00:00
Jörg Mayer
5654d71f04 The Feature summary of cmake 2.6.2 has a bug that is fixed in
2.8.x (an empty disabled feature list would display all features).
Copy in the version from cmake svn head for now.

svn path=/trunk/; revision=30563
2009-10-15 21:25:48 +00:00
Bill Meier
f670e428d0 (Trivial) Fix some typos in a comment.
svn path=/trunk/; revision=30562
2009-10-15 19:26:00 +00:00
Anders Broman
77d3f2e728 gtk_option_menu -> gtk_combo_box
svn path=/trunk/; revision=30561
2009-10-15 16:57:26 +00:00
Bill Meier
d4a921730b (Trivial) Fix a typo in a comment
svn path=/trunk/; revision=30560
2009-10-15 02:39:06 +00:00
Kovarththanan Rajaratnam
35aaccb36c Remove (local) build directory that I mistakenly submitted
svn path=/trunk/; revision=30559
2009-10-14 14:44:59 +00:00
Martin Mathieson
61eda9b14e Improve DL HARQ resend detection by storing multiple frames per UE.
svn path=/trunk/; revision=30557
2009-10-14 10:43:17 +00:00
Ronnie Sahlberg
edcd3abdeb From Matthieu Patou
Update ntlmssp to automatically re-read the keytab file if it changes


svn path=/trunk/; revision=30556
2009-10-14 07:22:40 +00:00
Martin Mathieson
af67d9d1d8 Status report bitmap can be empty, so add test.
svn path=/trunk/; revision=30555
2009-10-13 13:52:23 +00:00
Martin Mathieson
7e8d401265 Add detection for suspected DL retx (due to HARQ). Needed if logging is done on UE side of link.
svn path=/trunk/; revision=30554
2009-10-13 13:36:58 +00:00
Bill Meier
ca09a7b8c2 Use se_alloc instead of GMemChunks.
Fixes memory leak when using GLib v2.10 or later.

svn path=/trunk/; revision=30553
2009-10-12 21:36:54 +00:00
Bill Meier
741bc8368e #include <stdio.h> not req'd;
Adjust some spacing.

svn path=/trunk/; revision=30552
2009-10-12 20:57:01 +00:00
Bill Meier
88a5700e67 Update comment re freeing circuit-associated memory;
#include <stdio.h>, <string.h> not required.

svn path=/trunk/; revision=30551
2009-10-12 19:27:37 +00:00
Bill Meier
594855f394 Remove unneeded #includes;
Use consistent indentation.

svn path=/trunk/; revision=30550
2009-10-12 18:27:59 +00:00
Kovarththanan Rajaratnam
22d3d3c050 Copy newly generated files to epan/dissectors to make sure whoever runs this target remembers to commit the new changes
svn path=/trunk/; revision=30549
2009-10-12 17:28:27 +00:00
Kovarththanan Rajaratnam
c82f5a7085 Make all global variables static
svn path=/trunk/; revision=30548
2009-10-12 16:59:12 +00:00
Kovarththanan Rajaratnam
913da7cda9 Remove temp files on (clean) exit
svn path=/trunk/; revision=30547
2009-10-12 16:57:23 +00:00
Stig Bjørlykke
d3f92888ce Added ENDFOREACH() to close a FOREACH().
svn path=/trunk/; revision=30546
2009-10-12 15:39:17 +00:00
Anders Broman
d31ddb200f From Gerasimos Dimitriadis:
DTAP: Facility IE resets PROTOCOL and INFO columns

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4110

svn path=/trunk/; revision=30545
2009-10-12 15:38:16 +00:00
Anders Broman
5ba10f7062 From Gerasimos Dimitriadis:
DTAP: Decoding of Emergency Number List IE

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4111

svn path=/trunk/; revision=30544
2009-10-12 15:32:53 +00:00
Anders Broman
9d45f50695 Option_menu -> combo_box
svn path=/trunk/; revision=30543
2009-10-12 15:27:37 +00:00