Wireshark-commits: [Wireshark-commits] rev 50452: /trunk-1.8/epan/dissectors/ /trunk-1.8/epan/disse

Date: Mon, 08 Jul 2013 21:21:45 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=50452

User: morriss
Date: 2013/07/08 02:21 PM

Log:
 Copy over with manual intervention:
 
   ------------------------------------------------------------------------
   r50450 | morriss | 2013-07-08 17:12:06 -0400 (Mon, 08 Jul 2013) | 12 lines
   Changed paths:
      M /trunk/epan/dissectors/packet-dis-pdus.c
 
   Fix the very long loop reported in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8911 :
 
   In parseFields() ensure that we have at least one byte so that callers
   don't have to protect against it returning an offset which hasn't incremented.
 
   Remove a couple of now-unnecessary length-remaining (aka "will the offset
   move?") checks.
 
   In some other checks, use tvb_ensure_length_remaining() rather than calling
   tvb_length_remaining() and (potentially) THROWing an exception.  I'm not sure
   if these are really necessary now or not...
 
   ------------------------------------------------------------------------

Directory: /trunk-1.8/epan/dissectors/
  Changes    Path                 Action
  +30 -48    packet-dis-pdus.c    Modified