Wireshark-bugs: [Wireshark-bugs] [Bug 1931] New: Potential infinite loop at line 608 of packet-g
Date: Mon, 22 Oct 2007 22:03:25 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1931

           Summary: Potential infinite loop at line 608 of packet-gdsdb.c
           Product: Wireshark
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: packetsteve@xxxxxxxxxxx


Build Information:
Current 0.99.6 versions
--
Potential infinite loop at line 608 of packet-gdsdb.c 

while(tvb_bytes_exist(tvb, 0, 12)) {
 proto_tree_add_item(tree, hf_gdsdb_receive_direction, tvb, offset, 4, FALSE);
 offset += 4;
 proto_tree_add_item(tree, hf_gdsdb_receive_offset, tvb, offset, 8, FALSE);
 offset += 8;
}

Perhaps the intention was:
 tvb_bytes_exist(tvb, offset, 12)


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