Blame SOURCES/cdrkit-1.1.11-handler.patch

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