summaryrefslogtreecommitdiff
path: root/ucf
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@debian.org>2009-02-04 00:06:26 +0200
committerManoj Srivastava <srivasta@debian.org>2009-02-06 13:25:03 -0600
commitbd1dfcbab2a09f864427af992d4031f01ad30de7 (patch)
treea02fe0d4c25fabfccdf0f03087a0259f18fe8740 /ucf
parent69cc16168e8777d6f3ade4ea6ae8cf81a7c417cd (diff)
Substitute the ucf/show_diff DIFF variable contents to protect sensitive data
> reset diff question after use so contents are not written to disk Unfortunately this is not enough (or even needed): the sensitive data is not stored in the value of ucf/show_diff, but in the DIFF variable associated with it. Closes: Bug#511893 Author: Niko Tyni <ntyni@debian.org> Signed-off-by: Manoj Srivastava <srivasta@debian.org>
Diffstat (limited to 'ucf')
-rwxr-xr-xucf1
1 files changed, 1 insertions, 0 deletions
diff --git a/ucf b/ucf
index 883897b..b2f60da 100755
--- a/ucf
+++ b/ucf
@@ -78,6 +78,7 @@ show_diff() {
# may contain sensitive information, so clear
# immediatly after use so it is never written
# to disk
+ db_subst $templ DIFF ""
db_reset $templ
db_capb
else