Wireshark-commits: [Wireshark-commits] rev 30657: /trunk-1.2/ /trunk-1.2/diameter/: TGPPRx.xml dict
From: gerald@xxxxxxxxxxxxx
Date: Wed, 21 Oct 2009 20:27:31 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=30657 User: gerald Date: 2009/10/21 01:27 PM Log: Copy over revisions from the trunk: ------------------------------------------------------------------------ r28658 | stig | 2009-06-08 01:28:42 -0700 (Mon, 08 Jun 2009) | 3 lines Changed paths: M /trunk/epan/tvbuff.c Fixed check for no_of_bits in tvb_get_bits16(), tvb_get_bits32() and tvb_get_bits64(). ------------------------------------------------------------------------ r28691 | stig | 2009-06-11 03:03:08 -0700 (Thu, 11 Jun 2009) | 2 lines Changed paths: M /trunk/epan/tvbuff.c Remove some "statement not reached" warnings. ------------------------------------------------------------------------ r28840 | stig | 2009-06-24 19:07:17 -0700 (Wed, 24 Jun 2009) | 3 lines Changed paths: M /trunk/epan/to_str.c M /trunk/epan/to_str.h From Nathan Hartwell via bug 2733: Added time_secs_to_str_unsigned(). ------------------------------------------------------------------------ r28841 | stig | 2009-06-24 19:08:06 -0700 (Wed, 24 Jun 2009) | 3 lines Changed paths: M /trunk/epan/dissectors/packet-bootp.c From Nathan Hartwell via bug 2733: Use time_secs_to_str_unsigned(). ------------------------------------------------------------------------ r29064 | wmeier | 2009-07-11 08:36:18 -0700 (Sat, 11 Jul 2009) | 5 lines Changed paths: M /trunk/epan/dissectors/packet-paltalk.c Fix use of "unaligned" memory references; Fixes Bug #3689. Also: fix IPV4 address comparisons which would be incorrect on a big-endian machine. ------------------------------------------------------------------------ r29381 | krj | 2009-08-11 11:16:55 -0700 (Tue, 11 Aug 2009) | 1 line Changed paths: M /trunk/epan/tvbuff.c Turn a comment in fast_ensure_contiguous() into a DISSECTOR_ASSERT() to make the implied requirement explicit. ------------------------------------------------------------------------ r29382 | krj | 2009-08-11 11:28:10 -0700 (Tue, 11 Aug 2009) | 1 line Changed paths: M /trunk/epan/tvbuff.c (Trivial change) move ensure_contiguous() to reflect call hierarchy ------------------------------------------------------------------------ r29412 | etxrab | 2009-08-14 08:31:59 -0700 (Fri, 14 Aug 2009) | 3 lines Changed paths: M /trunk/diameter/TGPPRx.xml M /trunk/diameter/dictionary.xml Typos. Fixes: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3878 ------------------------------------------------------------------------ r29432 | krj | 2009-08-15 05:29:25 -0700 (Sat, 15 Aug 2009) | 1 line Changed paths: M /trunk/epan/tvbuff.c Make mem chunk static ------------------------------------------------------------------------ r29433 | krj | 2009-08-15 05:41:24 -0700 (Sat, 15 Aug 2009) | 1 line Changed paths: M /trunk/epan/tvbuff.c Add a missing DISSECTOR_ASSERT in tvb_init() ------------------------------------------------------------------------ r29434 | krj | 2009-08-15 06:24:59 -0700 (Sat, 15 Aug 2009) | 1 line Changed paths: M /trunk/epan/tvbuff.c Use the slice allocator if GLIB >= 2,10,0 as suggested by Anders Broman ------------------------------------------------------------------------ r29441 | krj | 2009-08-16 00:29:11 -0700 (Sun, 16 Aug 2009) | 1 line Changed paths: M /trunk/epan/exceptions.h M /trunk/epan/tvbuff.c Remove a non thread-safe usage (useful when/if we ever support threading) of a static tvbuff in tvb_new_real_data(). The current version uses a static 'last_tvb' to keep track of the last allocated tvbuff. This is needed because some of the function we call can throw an exception. This patch improves this strategy by throwing an exception (if needed) before we try to allocate the tvbuff. This way we avoid a memleak _and_ we don't have to track the 'last_tvb' tvbuff. ------------------------------------------------------------------------ r29442 | krj | 2009-08-16 01:18:17 -0700 (Sun, 16 Aug 2009) | 1 line Changed paths: M /trunk/epan/tvbuff.c Make some of the check_XXX functions accept the length/reported length of the tvbuff as arguments instead the tvbuff. We'll need this feature in order to remove the non-thread usage of the 'last_tvb' variable in tvb_new_subset() ------------------------------------------------------------------------ r29443 | krj | 2009-08-16 02:18:17 -0700 (Sun, 16 Aug 2009) | 1 line Changed paths: M /trunk/epan/tvbuff.c Remove the non-thread safe usage of 'last_tvb' variable in tvb_new_subset() ------------------------------------------------------------------------ r29444 | krj | 2009-08-16 02:48:25 -0700 (Sun, 16 Aug 2009) | 1 line Changed paths: M /trunk/epan/tvbuff.c Remove unused parameters ------------------------------------------------------------------------ r29445 | krj | 2009-08-16 03:53:47 -0700 (Sun, 16 Aug 2009) | 4 lines Changed paths: M /trunk/epan/tvbuff.c M /trunk/epan/tvbuff.h Add a new function, tvb_new_subset_remaining(), which is a sligtly optimized version of tvb_new_subset(). The latter can be mapped to the former by tvb_new_subset(tvb, offset, -1 /* backing_length */, -1 /* reported_length */). We can disable some bounds checking because 'backing_length' and 'reported_length' are hardcoded to -1. The current implementation of tvb_new_subset_remaining() only has the THROW_ON(reported_length < 1) check removed when compared to tvb_new_subset(). So there's room for improvement in this function. We should be able to disable some more (redundant) bounds checking. ------------------------------------------------------------------------ r29914 | morriss | 2009-09-14 18:08:58 -0700 (Mon, 14 Sep 2009) | 1 line Changed paths: M /trunk/epan/dissectors/packet-ssl-utils.c ssl_association_remove(): free assoc->info too ------------------------------------------------------------------------ Copy over with manual intervention: ------------------------------------------------------------------------ r29844 | krj | 2009-09-10 09:54:02 -0700 (Thu, 10 Sep 2009) | 1 line Changed paths: M /trunk/asn1/snmp/packet-snmp-template.c M /trunk/epan/dissectors/packet-sccp.c M /trunk/epan/dissectors/packet-snmp.c M /trunk/epan/dissectors/packet-sua.c M /trunk/epan/libwireshark.def M /trunk/epan/tvbuff.c M /trunk/epan/tvbuff.h offset_from_real_beginning() is only called with 0 as second argument, so remove the argument completely. It seems that the second argument only acts as an accumulator allowing offset_from_real_beginning() to call itself recursively. To be consistent offset_from_real_beginning() is renamed to tvb_offset_from_real_beginning(). ------------------------------------------------------------------------ Update the release notes. Directory: /trunk-1.2/diameter/ Changes Path Action +2 -2 TGPPRx.xml Modified +48 -42 dictionary.xml Modified Directory: /trunk-1.2/epan/dissectors/ Changes Path Action +1 -1 packet-bootp.c Modified +24 -7 packet-paltalk.c Modified +1 -1 packet-sccp.c Modified +2 -2 packet-snmp.c Modified +2 -0 packet-ssl-utils.c Modified +1 -1 packet-sua.c Modified Directory: /trunk-1.2/docbook/ Changes Path Action +17 -211 release-notes.xml Modified Directory: /trunk-1.2/epan/ Changes Path Action +5 -0 exceptions.h Modified +1 -1 libwireshark.def Modified (5 files not shown)
- Prev by Date: [Wireshark-commits] rev 30656: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-h264.c
- Next by Date: [Wireshark-commits] rev 30658: /trunk-1.2/ /trunk-1.2/epan/dissectors/: packet-ber.c packet-dcerpc-nt.c packet-e212.c packet-fip.c packet-gsm_map.c packet-ipsec.c packet-smb.c /trunk-1.2/docbook/: release-notes.xml ...
- Previous by thread: [Wireshark-commits] rev 30656: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-h264.c
- Next by thread: [Wireshark-commits] rev 30658: /trunk-1.2/ /trunk-1.2/epan/dissectors/: packet-ber.c packet-dcerpc-nt.c packet-e212.c packet-fip.c packet-gsm_map.c packet-ipsec.c packet-smb.c /trunk-1.2/docbook/: release-notes.xml ...
- Index(es):