Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal prefs.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: Sat, 3 Nov 2001 15:37:01 -0600 (CST)
guy         2001/11/03 15:37:01 CST

  Modified files:
    .                    prefs.c 
  Log:
  Crash if a dissector tries to create more than one preference with the
  same name; if that happens, there's no way to tell to which of them a
  line in a preferences file, or an option supplied with "-o", refers, so
  it's clearly a bug in the code.  This has happened in the past, and
  fixing that required some preference renaming *and* code in the
  preferences-file-reading code to try to preserve the user's settings and
  not spew warnings when starting Ethereal or Tethereal; let's try to
  catch it *before* the code gets into the code base.
  
  Revision  Changes    Path
  1.69      +17 -3     ethereal/prefs.c