Wireshark-commits: [Wireshark-commits] rev 47629: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Mon, 11 Feb 2013 13:23:06 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=47629

User: eapache
Date: 2013/02/11 05:23 AM

Log:
 Add an if (tree) check to prevent a very-long-but-not-infinite loop,
 since without a tree the proto_tree_add_item calls won't throw an exception
 when we run past the end of our TVB which means we could end up doing MAX_INT64
 iterations.
 
 Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8312

Directory: /trunk/epan/dissectors/
  Changes    Path                Action
  +19 -8     packet-bitcoin.c    Modified