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

Date: Sat, 14 Dec 2013 01:34:04 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=54082

User: eapache
Date: 2013/12/14 01:34 AM

Log:
 It seems sscanf requires the input string to be null-terminated, even if it is
 longer than the maximum possible amount to read based on the format string. For
 this reason, don't use sscanf on tvb_get_ptr directly, copy and null-terminate
 the bytes we want.
 
 Fixes an uninitialized value caught by valgrind fuzzing.

Directory: /trunk/epan/dissectors/
  Changes    Path               Action
  +17 -23    packet-distcc.c    Modified