Wireshark-commits: [Wireshark-commits] rev 45524: /trunk/ /trunk/epan/dissectors/: packet-iscsi.c

Date: Sat, 13 Oct 2012 22:12:53 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=45524

User: eapache
Date: 2012/10/13 03:12 PM

Log:
 Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7858
 
 Use a full 32-bit literal instead of just a 16-bit one. Fixes case where
 the value we're &-ing with just slips over 2^16, making us get stuck
 in an infinite loop.
 
 I'm not sure this matches the iscsi spec anymore, the comment in the code
 about padding bytes is ambiguous as to whether they're leading or trailing.

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