Wireshark-bugs: [Wireshark-bugs] [Bug 5514] GIT : malformed packet
Date: Wed, 22 Dec 2010 03:27:34 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5514

Alexis La Goutte <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Alexis La Goutte <[email protected]> 2010-12-22 03:27:33 PST ---
Hi

The packet work with release 1.4.*

The bug come from revision 34776 (
http://anonsvn.wireshark.org/viewvc?view=rev&revision=34776 )

Accurately

       subtvb = tvb_new_subset(tvb, offset+4, plen-4, plen-4);
-      ti2 = proto_tree_add_item(git_tree, hf_git_packet_data, tvb, offset+4, 
+      proto_tree_add_item(git_tree, hf_git_packet_data, subtvb, offset+4, 
                                 plen-4, FALSE);
(the tvb is change to subtvb)

I joint a patch to fix this issue (i also remove subtvb, it is not used in this
code...)

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.