Skip to content
Snippets Groups Projects
Commit cc2a697a authored by Steven Murray's avatar Steven Murray Committed by Steven Murray
Browse files

bug #96536: rmlabelinfo() of tape/initlabel.c corrupts memory if called more than once

Fix which requires testing.
parent 2ca9ae2f
No related branches found
No related tags found
No related merge requests found
......@@ -339,6 +339,8 @@ char *sys_terrlist[ETMAXERR-ETBASEOFF+2] =
"Wrong vsn",
"Tape has a bad MIR",
"castor::tape::net::acceptConnection interrupted",
"Label information not found in memory",
"Multi-drive reservations are not supported",
"BAD ERROR NUMBER"
};
......
......@@ -343,7 +343,9 @@
#define ETWVSN ETBASEOFF+32 /* wrong vsn */
#define ETBADMIR ETBASEOFF+33 /* Tape has a bad MIR */
#define ETNETACCEPTINTR ETBASEOFF+34 /* castor::tape::net::acceptConnection interrupted */
#define ETMAXERR ETBASEOFF+34
#define ETNOLBLINFO ETBASEOFF+35 /* Label information not found in memory */
#define ETMLTDRVRSV ETBASEOFF+36 /* Multi-drive reservations are not supported */
#define ETMAXERR ETBASEOFF+36
/*
*------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment