Blame SOURCES/cdrkit-1.1.11-handler.patch

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