Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
xfsprogs
0011-metadump-Copy-the-log-if-not-obfuscating-o...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0011-metadump-Copy-the-log-if-not-obfuscating-or-zeroing.patch of Package xfsprogs
From 75333d298210586eb7730ed4c5838df7bd786a99 Mon Sep 17 00:00:00 2001 From: Eric Sandeen <sandeen@sandeen.net> Date: Thu, 30 Jul 2015 09:17:43 +1000 Subject: [PATCH 11/20] metadump: Copy the log if not obfuscating or zeroing References: bsc#939367 CVE-2012-2150 If we're not obfuscating and we're not zeroing out stale data, we're collecting maximal information. Keep even a clean log intact in that case as well. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com> Acked-by: Jan Kara <jack@suse.com> --- db/metadump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/metadump.c b/db/metadump.c index 67d254567e54..cd2edf056ceb 100644 --- a/db/metadump.c +++ b/db/metadump.c @@ -2207,8 +2207,8 @@ copy_log(void) return !stop_on_read_error; } - /* If not obfuscating, just copy the log as it is */ - if (!obfuscate) + /* If not obfuscating or zeroing, just copy the log as it is */ + if (!obfuscate && !zero_stale_data) goto done; dirty = xlog_is_dirty(mp, &x, 0); -- 2.1.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor