All,

Here is the fix for the tsoljdsdevmgr crash issue.  Basically
a count was increased in an enumerated type that had a corresponding
character array.  Unfortunately, the array was not increased.
This fix adds the associated name for the enumerated type.

Thanks,

John



Index: devmgr-dialog.c
===================================================================
--- devmgr-dialog.c     (revision 11)
+++ devmgr-dialog.c     (working copy)
@@ -271,12 +271,17 @@
    TYPE_OF_DEVICES
  } ;

+/*
+ * device_names must have the same number of devices as the above enum
+ * Fix for CR 6795288 -- added "unknown" device name
+ */
  char *device_names[] = {
        "floppy",
        "cdrom",
        "audio",
        "rmdisk",
-       "lp"
+       "lp",
+       "unknown"
  };

  char *fname[] = {

Reply via email to