You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by pa...@apache.org on 2017/10/08 09:44:41 UTC

commons-fileupload git commit: travis: fix buffer overflow in Java_java_net_Inet4AddressImpl_getLocalHostName of OpenJDK6 and OpenJDK7 when using precise distribution

Repository: commons-fileupload
Updated Branches:
  refs/heads/master 2434446fb -> 35d6e9e41


travis: fix buffer overflow in Java_java_net_Inet4AddressImpl_getLocalHostName of OpenJDK6 and OpenJDK7 when using precise distribution

To fix this use the current (trusty) distribution and manually install openjdk-6-jdk and a java 6 compatible maven version. (closes #11)

(side effect: close #9)


Project: http://git-wip-us.apache.org/repos/asf/commons-fileupload/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-fileupload/commit/35d6e9e4
Tree: http://git-wip-us.apache.org/repos/asf/commons-fileupload/tree/35d6e9e4
Diff: http://git-wip-us.apache.org/repos/asf/commons-fileupload/diff/35d6e9e4

Branch: refs/heads/master
Commit: 35d6e9e41a92c9654d607f4163eee1c830725e06
Parents: 2434446
Author: Pascal Schumacher <pa...@gmx.net>
Authored: Sun Oct 8 11:34:18 2017 +0200
Committer: Pascal Schumacher <pa...@gmx.net>
Committed: Sun Oct 8 11:43:37 2017 +0200

----------------------------------------------------------------------
 .travis.yml | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-fileupload/blob/35d6e9e4/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index daa0161..84b52ee 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,7 +16,16 @@
 language: java
 sudo: false
 
-dist: precise
+addons:
+  apt:
+    packages:
+      - openjdk-6-jdk
+# use java 6 compatible maven version
+before_install:
+  - wget https://archive.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip
+  - unzip -qq apache-maven-3.2.5-bin.zip
+  - export M2_HOME=$PWD/apache-maven-3.2.5
+  - export PATH=$M2_HOME/bin:$PATH
 
 jdk:
   - openjdk6