Ethereal-cvs: [Ethereal-cvs] rev 15290: /trunk/epan/dissectors/: packet-rpc.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Thu, 11 Aug 2005 09:20:24 GMT
User: sahlberg
Date: 2005/08/11 04:20 AM

Log:
 We use heuristics to detect what MIGHT be onc-rpc packets.
 
 as heuristics they are not 100% perfect, else they would not be heuristics.
 
 
 IF the preference option "Dissect unknown RPC program numbers" are enabled,
 add a sanity check to see that program_version is <=10
   (no one uses versions >10 ?)
 to avoid trying to add 2 bilion different versions to the program->version linked list
 in case we mistook the packet for ONC-RPC and the "version" field contains a huge random number.
 
 
 This bug would only trigger a hang/crash IFF the option above is enabled.

Directory: /trunk/epan/dissectors/
  Changes    Path            Action
  +9 -2      packet-rpc.c    Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=15290&view=rev