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

Date: Tue, 20 Aug 2013 22:42:47 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=51448

User: cmaynard
Date: 2013/08/20 03:42 PM

Log:
 Simplify find_delimiter() by making use of tvb_find_guint8().
 In sss_string():
  -> Protect against tvb_length_remaining() possibly returning -1.
  -> Fix off-by-1 potential buffer overflow condition.
  -> Use isprint() rather than "do-it-yourself" code.
  -> Remove the extra unnecessary "length_remaining" checks in the for() loop.
 
 #BACKPORT(1.10, 1.8)

Directory: /trunk/epan/dissectors/
  Changes    Path                Action
  +23 -28    packet-ncp-sss.c    Modified