Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
cc2a697a
Commit
cc2a697a
authored
12 years ago
by
Steven Murray
Committed by
Steven Murray
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mediachanger/castorrmc/common/serror.c
+2
-0
2 additions, 0 deletions
mediachanger/castorrmc/common/serror.c
mediachanger/castorrmc/h/serrno.h
+3
-1
3 additions, 1 deletion
mediachanger/castorrmc/h/serrno.h
with
5 additions
and
1 deletion
mediachanger/castorrmc/common/serror.c
+
2
−
0
View file @
cc2a697a
...
...
@@ -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"
};
...
...
This diff is collapsed.
Click to expand it.
mediachanger/castorrmc/h/serrno.h
+
3
−
1
View file @
cc2a697a
...
...
@@ -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
/*
*------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment