Wireshark-commits: [Wireshark-commits] rev 30776: /trunk/epan/dissectors/ /trunk/epan/dissectors/:
Date: Sat, 31 Oct 2009 08:31:28 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=30776

User: guy
Date: 2009/10/31 01:31 AM

Log:
 assert() doesn't throw an exception, it just immediately crashes the
 app, and DISSECTOR_ASSERT() throws an exception, but claims the problem
 is a dissector bug, not a malformed packet.  Presumably the error in
 question is the result of a malformed packet, so throw
 ReportedBoundsError to indicate that (it's not really the *right*
 exception, but the right exception doesn't exist).

Directory: /trunk/epan/dissectors/
  Changes    Path            Action
  +2 -1      packet-per.c    Modified