Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/plugins/docsis packet-vendor.c

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

From: guy@xxxxxxxxxxxx (Guy Harris)
Date: Fri, 12 Dec 2003 20:45:30 -0600 (CST)
guy         2003/12/12 20:45:30 CST

  Modified files:
    plugins/docsis       packet-vendor.c 
  Log:
  Use "int"s, not "guint16"s, as packet offsets (using values shorter
  than32 bits risks overflow problems).
  
  Use a "gint" as the length of the vsif TLV, as that's what
  "tvb_length_remaining()" returns.
  
  Revision  Changes    Path
  1.5       +8 -8      ethereal/plugins/docsis/packet-vendor.c