summaryrefslogtreecommitdiffstats
path: root/bin/report-vuln
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-12-01 15:34:50 +0000
committerGuido Günther <agx@sigxcpu.org>2017-12-01 15:34:50 +0000
commitcb9565f40791085341c9c4cfcb2d7a0484dd5edd (patch)
tree10ae6d822ad103943f65955f59c25b04d8efbd0c /bin/report-vuln
parentc9796c302c8308046f079c5fc693f348c81b5c63 (diff)
report-vuln: don't report version as None when not set
This also brings back the X-Debbug-CC entries git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@58183 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin/report-vuln')
-rwxr-xr-xbin/report-vuln10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/report-vuln b/bin/report-vuln
index b7d10e3102..1fcae6a7d2 100755
--- a/bin/report-vuln
+++ b/bin/report-vuln
@@ -132,11 +132,11 @@ Subject: %s: %s
if affected is None:
if blanks:
- ret += "Version: FILLINAFFECTEDVERSION\n"
- else:
- ret += "Version: %s\n" % affected
- if cc and len(cclist) > 0:
- ret += "X-Debbugs-CC: %s\n" % " ".join(cclist)
+ ret += "Version: FILLINAFFECTEDVERSION\n"
+ else:
+ ret += "Version: %s\n" % affected
+ if cc and len(cclist) > 0:
+ ret += "X-Debbugs-CC: %s\n" % " ".join(cclist)
ret += '''Severity: %s
Tags: security

© 2014-2024 Faster IT GmbH | imprint | privacy policy