Commit Graph

29803 Commits

Author SHA1 Message Date
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
Kovarththanan Rajaratnam d0522967aa We have to traverse dissectors/dcerpc unconditionally because that subdirectory needs to tell us which dissectors are autogenerated
svn path=/trunk/; revision=30542
2009-10-12 15:14:43 +00:00
Stig Bjørlykke bed471d64f Remove unused code.
svn path=/trunk/; revision=30541
2009-10-12 15:11:37 +00:00
Kovarththanan Rajaratnam 3a0ba6b1cb Let the pidl subdirectory indicate which protocols it contains
svn path=/trunk/; revision=30540
2009-10-12 15:07:56 +00:00
Stig Bjørlykke a06bfe00f0 Avoid using uninitialized values.
svn path=/trunk/; revision=30539
2009-10-12 15:04:46 +00:00
Kovarththanan Rajaratnam 27bb2d7026 Add back functionality to autogenerate dcerpc dissectors (this is an optional feature which defaults to off)
svn path=/trunk/; revision=30538
2009-10-12 14:48:20 +00:00
Stig Bjørlykke fd2662b27f Added a check for num_opts to avoid a theoretical undefined behavior.
svn path=/trunk/; revision=30537
2009-10-12 14:43:09 +00:00
Stig Bjørlykke 30b31a46bb Initialize variables which may be used uninitialized.
svn path=/trunk/; revision=30536
2009-10-12 14:29:48 +00:00
Stig Bjørlykke d7ca2a6444 Initialize variables which may be used uninitialized.
svn path=/trunk/; revision=30535
2009-10-12 14:13:01 +00:00
Stig Bjørlykke 4fe9d51d78 Corrected some return values.
svn path=/trunk/; revision=30534
2009-10-12 09:13:37 +00:00
Stig Bjørlykke b510b97ff1 Return FALSE from proto_tracking_interesting_fields() when no tree.
svn path=/trunk/; revision=30533
2009-10-12 08:19:30 +00:00