Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-wtp.c

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 23 Mar 2001 14:11:46 -0600 (CST)
guy         2001/03/23 14:11:46 CST

  Modified files:
    .                    packet-wtp.c 
  Log:
  Don't convert a WTP PDU type to a string by using as an index into a
  "value_string" array, do it the right way, by using "val_to_str()" - the
  PDU type is 4 bits, but there aren't 16 entries in the array, so a bogus
  PDU type (*don't* assume that can't happen...) can cause a core dump.
  
  Revision  Changes    Path
  1.12      +3 -2      ethereal/packet-wtp.c