[freeplane] 01/01: add log output to double-check activation of patch

Felix Natter fnatter-guest at moszumanska.debian.org
Tue Apr 3 18:59:43 UTC 2018


This is an automated email from the git hooks/post-receive script.

fnatter-guest pushed a commit to branch stretch-CVE-2018-1000069
in repository freeplane.

commit 5bdd1682ee556f5aebbb59cc7b846248bd9f3226
Author: Felix Natter <fnatter at gmx.net>
Date:   Tue Apr 3 20:59:31 2018 +0200

    add log output to double-check activation of patch
---
 debian/patches/50_fix_CVE-2018-1000069 | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/debian/patches/50_fix_CVE-2018-1000069 b/debian/patches/50_fix_CVE-2018-1000069
index 9618fff..9b9d214 100644
--- a/debian/patches/50_fix_CVE-2018-1000069
+++ b/debian/patches/50_fix_CVE-2018-1000069
@@ -268,3 +268,13 @@ Subject: [PATCH] Do not reference external entities in freeplane xml parser
  		for (File file : addonXmlFiles) {
  			BufferedInputStream inputStream = null;
  			try {
+--- a/freeplane/src/main/java/org/freeplane/main/osgi/Activator.java
++++ b/freeplane/src/main/java/org/freeplane/main/osgi/Activator.java
+@@ -34,6 +34,7 @@
+ 		FreeplaneMain.checkJavaVersion();
+ 		activatorImpl = new ActivatorImpl();
+ 		activatorImpl.start(context);
++		org.freeplane.core.util.LogUtils.info("CVE-2018-1000069 fix activated");
+ 	}
+ 
+ 	public void stop(final BundleContext context) throws Exception {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/freeplane.git



More information about the pkg-java-commits mailing list