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

This commit is contained in:
Thomas Schmitt 2015-10-31 12:22:50 +00:00
parent 404ece128c
commit c37cf9f020
2 changed files with 6 additions and 1 deletions

View File

@ -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;

View File

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