Reacting on (improbable) failure of burn_disc_pretend_full(). Coverity CID 21847.

1.4.2
Thomas Schmitt 7 years ago
parent ae9cd95cf1
commit d8cb782cfb
  1. 5
      cdrskin/cdrskin.c
  2. 2
      cdrskin/cdrskin_timestamp.h

@ -6194,6 +6194,11 @@ int Cdrskin_blank(struct CdrskiN *skin, int flag)
if(skin->force_is_set) {
ClN(fprintf(stderr,"cdrskin: NOTE : -force blank=... : Treating unsuitable media as burn_disc_full\n"));
ret= burn_disc_pretend_full(drive);
if(ret <= 0) {
ClN(fprintf(stderr,
"cdrskin: FAILURE : Medium still considered unsuitable\n"));
{ret= 0; goto ex;}
}
s= burn_disc_get_status(drive);
} else
hint_force= 1;

@ -1 +1 @@
#define Cdrskin_timestamP "2015.10.29.105609"
#define Cdrskin_timestamP "2015.10.31.122151"

Loading…
Cancel
Save