From d0d0af1ba53caec729f4f08fecd23bc0fccbdb14 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Fri, 22 Sep 2006 17:22:17 +0000 Subject: [PATCH] Fixed SIGSEGV of -eject on non-existent device address --- cdrskin/cdrskin.c | 4 ---- cdrskin/cdrskin_timestamp.h | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/cdrskin/cdrskin.c b/cdrskin/cdrskin.c index 8bf4b87..663a141 100644 --- a/cdrskin/cdrskin.c +++ b/cdrskin/cdrskin.c @@ -3710,12 +3710,8 @@ int Cdrskin_eject(struct CdrskiN *skin, int flag) if(!skin->do_eject) return(1); - -/* not active yet : if(skin->n_drives<=skin->driveno) return(2); -*/ - for(i= 0;i0 || i>=max_try-1) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 6c05117..7fdf1da 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2006.09.22.170220" +#define Cdrskin_timestamP "2006.09.22.172307"