Blame SOURCES/cdrkit-1.1.11-handler.patch

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