tags 408730 + patch
thanks
The list passed to helpings_translatestringlist() should be null
terminated. Adding a null to the end of the cddrives_dltitles[]
array in cddrives.c seems to fix the segfault.
Patch attached.
--
Regards,
Andreas Henriksson
diff -urip gtoaster-0.2002083100+1.0Beta6/cddrives.c gtoaster-0.2002083100+1.0Beta6-fixed/cddrives.c
--- gtoaster-0.2002083100+1.0Beta6/cddrives.c 2002-08-07 19:58:13.000000000 +0200
+++ gtoaster-0.2002083100+1.0Beta6-fixed/cddrives.c 2007-01-30 20:43:59.000000000 +0100
@@ -161,7 +161,8 @@ char *cddrives_dltitles[]=
N_("Manufacturer Name"),
N_("Device Name"),
N_("Scsi ID"),
- N_("Mountpoint")
+ N_("Mountpoint"),
+ NULL
};
/* this loads the drive list out of a given position of the config file */