ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

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

Date Prev · Date Next · Thread Prev · Thread Next
Date: Thu, 01 Jun 2006 10:16:44 GMT
User: sahlberg
Date: 2006/06/01 10:16 AM

Log:
 the very recently added unaligned-per support and the ulp dissector could cause an infinite loop in dissect_per_constrained_integer()
 if the interval spans the entire 32 bit range.
 
 
 special case the two common cases when this may happen  until a real fix is included.
 
 if the range variable becomes 0 due to 32bit overflow   do a g_assert_not_reached to prevent an infinite loop.
 
 
 
 this function should be enhanced to work with 64 bit integers.

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