Commit Graph

29395 Commits

Author SHA1 Message Date
Anders Broman 1ef7157d71 From Gerasimos Dimitriadis:
Mobile Classmark3 wrong dissection.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4082

svn path=/trunk/; revision=30372
2009-10-06 18:51:11 +00:00
Jeff Morriss 6a7c00894d Add some SE allocation statistics (if SHOW_MEM_STATS is defined).
Add print_alloc_stats() will show some (hopefully useful) statistics about the
memory we have allocated, the average allocation size, the amount of
overhead/waste, etc.

svn path=/trunk/; revision=30371
2009-10-06 16:20:26 +00:00
Stig Bjørlykke 98024a007f Invert check for getopt: NEED_GETOPT_H -> HAVE_GETOPT_H
Rename getopt.[ch] -> wsgetopt.[ch] to avoid name collision.

svn path=/trunk/; revision=30370
2009-10-06 16:01:18 +00:00
Kovarththanan Rajaratnam c88f493d4d Cleanup rcsids
svn path=/trunk/; revision=30369
2009-10-06 15:07:52 +00:00
Kovarththanan Rajaratnam 3d1020840a Remove $Id$
svn path=/trunk/; revision=30368
2009-10-06 14:56:43 +00:00
Kovarththanan Rajaratnam cec0e21e2b Use ep_alloc()
svn path=/trunk/; revision=30367
2009-10-06 14:20:59 +00:00
Kovarththanan Rajaratnam e02fcd3990 Remove superfluous cast
svn path=/trunk/; revision=30366
2009-10-06 14:02:01 +00:00
Kovarththanan Rajaratnam 73316149c0 Use G_SEARCHPATH_SEPARATOR_S
svn path=/trunk/; revision=30365
2009-10-06 13:58:17 +00:00
Kovarththanan Rajaratnam 4d0be14403 Make splash_destroy() return a gboolean
svn path=/trunk/; revision=30364
2009-10-06 13:54:32 +00:00
Kovarththanan Rajaratnam d1dda18cca Guard icon_list_create()
svn path=/trunk/; revision=30363
2009-10-06 13:51:56 +00:00
Stig Bjørlykke 727f0062a7 Mark some functions static.
Removed an unused tooltips.

svn path=/trunk/; revision=30362
2009-10-06 13:26:00 +00:00
Stig Bjørlykke ccf7f1c257 Removed unnecessary assignment.
svn path=/trunk/; revision=30361
2009-10-06 13:23:07 +00:00
Kovarththanan Rajaratnam 71f7469141 Don't include unistd.h
svn path=/trunk/; revision=30360
2009-10-06 13:21:44 +00:00
Stig Bjørlykke 4355ba12a9 Removed unused variable thdr.
svn path=/trunk/; revision=30359
2009-10-06 13:21:15 +00:00
Stig Bjørlykke cd31f4d83a Removed unused sortable.
svn path=/trunk/; revision=30358
2009-10-06 13:20:40 +00:00
Anders Broman 809e9e9e71 Make it compile on windows.
svn path=/trunk/; revision=30357
2009-10-06 11:54:08 +00:00
Anders Broman 570208780b Increase EMEM_ALLOCS_PER_CHUNK to avoid memory waist.
svn path=/trunk/; revision=30356
2009-10-06 10:10:33 +00:00
Ronnie Sahlberg 161667e6bd From Matthieu Patou,
add code to decrypt ntlmv1 and v2 traffic





svn path=/trunk/; revision=30355
2009-10-06 09:13:57 +00:00
Ronnie Sahlberg 75b1534c7f more updates to samr to harmonize it with samba
svn path=/trunk/; revision=30354
2009-10-06 08:07:17 +00:00
Anders Broman b42fda0fd2 From : Didier Gautheron
gtktreeview for conversations:
- use a garray rather than g_realloc memory for conversations list.
- use a hashtable for finding conversation rather than a linear search.

Notes:
- sorting is too slow, I disabled it.
- the dialog box is really a big problem because it's also empty the idle event queue, slow down a lot.
- Test on a 1.5M packets with hundred thousands conversations capture, slow but bearable.

svn path=/trunk/; revision=30353
2009-10-06 07:44:48 +00:00
Stig Bjørlykke 999ab12945 Use IANA assigned port number as default UDP port.
svn path=/trunk/; revision=30352
2009-10-06 06:54:18 +00:00
Stig Bjørlykke a3c55af8c0 Update the services file from IANA's port-numbers.
svn path=/trunk/; revision=30351
2009-10-06 06:50:39 +00:00
Stig Bjørlykke 4d5f636a35 Regenerated to match spec files.
svn path=/trunk/; revision=30350
2009-10-05 21:41:35 +00:00
Stig Bjørlykke 01668de485 Fixed offset_from_real_beginning() -> tvb_offset_from_real_beginning()
svn path=/trunk/; revision=30349
2009-10-05 21:39:47 +00:00
Stig Bjørlykke 902a1013a4 Return from dissect_snmp_VarBind() when detecting invalid oid.
svn path=/trunk/; revision=30348
2009-10-05 21:39:07 +00:00
Kovarththanan Rajaratnam 978bd4982d Use g_free() (should have been part of r30342)
svn path=/trunk/; revision=30347
2009-10-05 19:18:09 +00:00
Kovarththanan Rajaratnam 1b668036d1 Move dissector add sanity check to separate function
svn path=/trunk/; revision=30346
2009-10-05 18:52:46 +00:00
Kovarththanan Rajaratnam 37e414a1d7 Add DISSECTOR_ASSERT before dereferencing pointer
svn path=/trunk/; revision=30345
2009-10-05 18:45:03 +00:00
Kovarththanan Rajaratnam 94ff940129 GetModuleFileName expects the size of the passed buffer to be expressed in TCHAR. We currently pass the size expressed in bytes. In other words, we incorrectly state that the buffer is twice as big as it really is.
svn path=/trunk/; revision=30344
2009-10-05 18:38:50 +00:00
Kovarththanan Rajaratnam 14c4a8f23b se_alloc returns a non NULL pointer so we don't have to check for NULL
svn path=/trunk/; revision=30343
2009-10-05 18:24:59 +00:00
Kovarththanan Rajaratnam e567d96a93 Use g_malloc()
svn path=/trunk/; revision=30342
2009-10-05 18:20:38 +00:00
Stig Bjørlykke 50be430dab Return from dissect_snmp_VarBind() when detecting invalid oid.
svn path=/trunk/; revision=30341
2009-10-05 18:13:23 +00:00
Kovarththanan Rajaratnam f48e1b1574 Add null pointer guard
svn path=/trunk/; revision=30340
2009-10-05 18:12:16 +00:00
Kovarththanan Rajaratnam 0cc4720cb8 Allocate 64K buffer from heap
svn path=/trunk/; revision=30339
2009-10-05 18:07:59 +00:00
Stig Bjørlykke 8ad8a9a233 Return from sctp_stat_on_select_row() if nothing selected.
svn path=/trunk/; revision=30338
2009-10-05 17:52:23 +00:00
Kovarththanan Rajaratnam 0c75135ffd Cleanup comments wrt. /MP
svn path=/trunk/; revision=30337
2009-10-05 17:43:27 +00:00
Anders Broman 2bd73944ff From Didier Gautheron:
Sorting wasn't working right for time columns.

svn path=/trunk/; revision=30336
2009-10-05 17:19:39 +00:00
Stig Bjørlykke 2315117682 Initialize ip_addr to avoid an uninitialized warning.
svn path=/trunk/; revision=30335
2009-10-05 16:52:59 +00:00
Stig Bjørlykke 4593ce5ce8 Initialize some values to avoid uninitialized warnings.
svn path=/trunk/; revision=30334
2009-10-05 16:48:20 +00:00
Stig Bjørlykke d200281ff6 Initialize u32BoundElements.
svn path=/trunk/; revision=30333
2009-10-05 16:40:38 +00:00
Stig Bjørlykke be0f4aa44b Moved the block for second octet to avoid a warning about an uninitialized
variable.

svn path=/trunk/; revision=30332
2009-10-05 16:36:31 +00:00
Stig Bjørlykke 0488967f29 Corrected check for dtmEgprsHighMultiSlotClassPresent.
svn path=/trunk/; revision=30331
2009-10-05 16:33:41 +00:00
Stig Bjørlykke 41a8561936 Fixed a int/long warning.
svn path=/trunk/; revision=30330
2009-10-05 15:22:34 +00:00
Stig Bjørlykke 8fe2c2d418 Fixed a size data type.
svn path=/trunk/; revision=30329
2009-10-05 15:20:22 +00:00
Stig Bjørlykke ea3139f395 Rewrote fc_sof_t and fc_eof_t from enum to defines, as enum
is defined as signed int.

svn path=/trunk/; revision=30328
2009-10-05 15:17:41 +00:00
Stig Bjørlykke fad8c1105e Fixed a signed/unsigned warning.
svn path=/trunk/; revision=30327
2009-10-05 15:16:11 +00:00
Anders Broman d2f6aaa4d1 Change a refrerence.
svn path=/trunk/; revision=30326
2009-10-05 08:33:55 +00:00
Anders Broman 73452c577b Prepare to change GtkItemFactory to GtkUIManager.
(Will not have time to work on this for a while).

svn path=/trunk/; revision=30325
2009-10-05 08:32:59 +00:00
Anders Broman 4a0dc1b5b5 Make Wireshark compile on Windows.
svn path=/trunk/; revision=30324
2009-10-05 08:31:31 +00:00
Stig Bjørlykke 066b12d7d4 Prototype follow_add_to_gtk_text().
Made some functions static.

svn path=/trunk/; revision=30323
2009-10-05 07:25:33 +00:00