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

Date: Mon, 31 Jan 2011 21:23:38 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=35732

User: wmeier
Date: 2011/01/31 01:23 PM

Log:
 Fix minor bug lookups of certain "peer ids" would fail.
 
 The  issue (in essence)
  For:
   char foo[][4] = {"abc", "defg", "hij"};
 
 strlen(foo[1]) will be 7 and not 4 as expected;
 
 Detected via msvc level 4 warning: "array is too small to include a terminating null character"

Directory: /trunk/epan/dissectors/
  Changes    Path                   Action
  +3 -3      packet-bittorrent.c    Modified