Wireshark-commits: [Wireshark-commits] rev 23039: /trunk/epan/dissectors/ /trunk/epan/dissectors/:
Date Prev · Date Next · Thread Prev · Thread Next
Date: Sun, 30 Sep 2007 23:14:20 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=23039

User: sahlberg
Date: 2007/09/30 11:14 PM

Log:
 change dissect_radius() to become a new-style dissector that can reject 
 packets that doesnt look like valid radius.
 
 verify that a packet is radius by checking that the command code is 
 known and also that the length is between 20 and 4096 bytes
 
 move the tap data to be ep_allocated instead of a static global variable
 
 dont use tvb_memcpy() to read a structure off the wiredata
 use tvb_get_...    to unmarshall the fields explicitely
 
 
 
 this fixes bug 1634

Directory: /trunk/epan/dissectors/
  Changes    Path               Action
  +122 -68   packet-radius.c    Modified