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
e529340e
Commit
e529340e
authored
2 years ago
by
Julien Leduc
Committed by
Miguel Barros
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Resolve "Code injection in the disk file path during archive"
parent
31e9f1ac
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
common/log/SyslogLogger.cpp
+1
-1
1 addition, 1 deletion
common/log/SyslogLogger.cpp
continuousintegration/docker/ctafrontend/cc7/config/ctaeos/etc/sysconfig/eos
+7
-4
7 additions, 4 deletions
...on/docker/ctafrontend/cc7/config/ctaeos/etc/sysconfig/eos
with
8 additions
and
5 deletions
common/log/SyslogLogger.cpp
+
1
−
1
View file @
e529340e
...
...
@@ -66,7 +66,7 @@ void SyslogLogger::prepareForFork() {
//-----------------------------------------------------------------------------
void
SyslogLogger
::
writeMsgToUnderlyingLoggingSystem
(
const
std
::
string
&
header
,
const
std
::
string
&
body
)
{
// Explicitly ignore the message header as this will be provided by rsyslog
syslog
(
LOG_LOCAL3
|
INFO
,
body
.
c_str
());
syslog
(
LOG_LOCAL3
|
INFO
,
"%s"
,
body
.
c_str
());
}
}
// namespace log
...
...
This diff is collapsed.
Click to expand it.
continuousintegration/docker/ctafrontend/cc7/config/ctaeos/etc/sysconfig/eos
+
7
−
4
View file @
e529340e
# Should we run with another limit on the core file size other than the default?
DAEMON_COREFILE_LIMIT=unlimited
export
DAEMON_COREFILE_LIMIT=unlimited
# Disable the KRB5 replay cache
export KRB5RCACHETYPE=none
...
...
@@ -9,7 +9,7 @@ export KRB5RCACHETYPE=none
# e.g. /etc/sysconfig/xrd.<role>. The role based mechanism allows for
# multiple xrd's running with different options to be controlled via
# the same initd script
XRD_ROLES="mq mgm fst"
export
XRD_ROLES="mq mgm fst"
# ------------------------------------------------------------------
# EOS Configuration
...
...
@@ -59,7 +59,10 @@ export EOS_TTY_BROACAST_EGREP="\"CRIT|ALERT|EMERG|PROGRESS\""
export EOS_FST_DELETE_QUERY_INTERVAL=5
# Tell clients that there is a CTA backend by starting the sitename with "cern_tape_archive_"
XRDSITE=cern_tape_archive_ci
export
XRDSITE=cern_tape_archive_ci
# Port to use for injecting into namespace using gRPC API
EOS_MGM_GRPC_PORT=50051
export EOS_MGM_GRPC_PORT=50051
# Adds UTF8 support for exotic filenames
export EOS_UTF8=""
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