Removed use of undefined data by a rarely occuring error message

This commit is contained in:
Thomas Schmitt 2024-02-26 16:06:56 +01:00
parent 84e8efeb0a
commit 069b4edecd
2 changed files with 1 additions and 10 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2024.02.26.145811" #define Cdrskin_timestamP "2024.02.26.150632"

View File

@ -975,15 +975,6 @@ fprintf(stderr, "libburn_DEBUG: buffer sectors= %d bytes= %d\n",
0x0002012d, 0x0002012d,
LIBDAX_MSGS_SEV_FATAL, LIBDAX_MSGS_PRIO_HIGH, LIBDAX_MSGS_SEV_FATAL, LIBDAX_MSGS_PRIO_HIGH,
msg, 0, 0); msg, 0, 0);
strcpy(msg, "CDB= ");
if (spc_human_readable_cmd(c, msg + strlen(msg),
320 - strlen(msg), 1) > 0) {
libdax_msgs_submit(libdax_messenger,
d->global_index, 0x0002012d,
LIBDAX_MSGS_SEV_FATAL,
LIBDAX_MSGS_PRIO_HIGH,
msg, 0, 0);
}
free(msg); free(msg);
} }
d->cancel = 1; /* No need for mutexing because atomic */ d->cancel = 1; /* No need for mutexing because atomic */