Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] Infinite loop in packet-gdsdb.c

From: packet steve <packetsteve@xxxxxxxxxxx>
Date: Mon, 22 Oct 2007 17:57:33 -0400


 
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)



Help yourself to FREE treats served up daily at the Messenger Café. Stop by today!