6e6969f
diff -up cdrkit-1.1.11/icedax/icedax.c.handler cdrkit-1.1.11/icedax/icedax.c
6e6969f
--- cdrkit-1.1.11/icedax/icedax.c.handler	2011-06-02 16:37:02.446206285 +0200
6e6969f
+++ cdrkit-1.1.11/icedax/icedax.c	2011-06-02 16:37:25.444206279 +0200
6e6969f
@@ -1054,7 +1054,7 @@ static void exit_wrapper(int status)
6e6969f
 
6e6969f
 	if (child_pid != 0) {
6e6969f
 		SCSI *usalp = get_scsi_p();
6e6969f
-		if (usalp->running) {
6e6969f
+		if (usalp && usalp->running) {
6e6969f
 			usalp->cb_fun = on_exitscsi;
6e6969f
 			usalp->cb_arg = (void *) (uintptr_t) status;
6e6969f
 		} else {