You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2016/12/08 14:15:08 UTC
[1/3] camel git commit: CAMEL-10568 Fix integer overflow bug
Repository: camel
Updated Branches:
refs/heads/camel-2.17.x 4994bcb08 -> 54826e8a7
refs/heads/camel-2.18.x 2e2a49eb3 -> 69e1a8cc7
refs/heads/master 7597ed828 -> 27229d0a2
CAMEL-10568 Fix integer overflow bug
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/27229d0a
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/27229d0a
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/27229d0a
Branch: refs/heads/master
Commit: 27229d0a21279c5f7aac5e6298690f578bdf5285
Parents: 7597ed8
Author: acampbel <ad...@neustar.biz>
Authored: Thu Dec 8 08:55:28 2016 -0500
Committer: Claus Ibsen <da...@apache.org>
Committed: Thu Dec 8 15:14:24 2016 +0100
----------------------------------------------------------------------
.../file/remote/strategy/SftpChangedExclusiveReadLockStrategy.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/27229d0a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/strategy/SftpChangedExclusiveReadLockStrategy.java
----------------------------------------------------------------------
diff --git a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/strategy/SftpChangedExclusiveReadLockStrategy.java b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/strategy/SftpChangedExclusiveReadLockStrategy.java
index 7ac91c1..1efe642 100644
--- a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/strategy/SftpChangedExclusiveReadLockStrategy.java
+++ b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/strategy/SftpChangedExclusiveReadLockStrategy.java
@@ -90,7 +90,7 @@ public class SftpChangedExclusiveReadLockStrategy implements GenericFileExclusiv
match = f.getFilename().equals(file.getFileNameOnly());
}
if (match) {
- newLastModified = f.getAttrs().getMTime() * 1000;
+ newLastModified = f.getAttrs().getMTime() * 1000L;
newLength = f.getAttrs().getSize();
}
}
[3/3] camel git commit: CAMEL-10568 Fix integer overflow bug
Posted by da...@apache.org.
CAMEL-10568 Fix integer overflow bug
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/54826e8a
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/54826e8a
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/54826e8a
Branch: refs/heads/camel-2.17.x
Commit: 54826e8a7821d71a40ab257905498808d59e5832
Parents: 4994bcb
Author: acampbel <ad...@neustar.biz>
Authored: Thu Dec 8 08:55:28 2016 -0500
Committer: Claus Ibsen <da...@apache.org>
Committed: Thu Dec 8 15:14:59 2016 +0100
----------------------------------------------------------------------
.../file/remote/strategy/SftpChangedExclusiveReadLockStrategy.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/54826e8a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/strategy/SftpChangedExclusiveReadLockStrategy.java
----------------------------------------------------------------------
diff --git a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/strategy/SftpChangedExclusiveReadLockStrategy.java b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/strategy/SftpChangedExclusiveReadLockStrategy.java
index 7ac91c1..1efe642 100644
--- a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/strategy/SftpChangedExclusiveReadLockStrategy.java
+++ b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/strategy/SftpChangedExclusiveReadLockStrategy.java
@@ -90,7 +90,7 @@ public class SftpChangedExclusiveReadLockStrategy implements GenericFileExclusiv
match = f.getFilename().equals(file.getFileNameOnly());
}
if (match) {
- newLastModified = f.getAttrs().getMTime() * 1000;
+ newLastModified = f.getAttrs().getMTime() * 1000L;
newLength = f.getAttrs().getSize();
}
}
[2/3] camel git commit: CAMEL-10568 Fix integer overflow bug
Posted by da...@apache.org.
CAMEL-10568 Fix integer overflow bug
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/69e1a8cc
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/69e1a8cc
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/69e1a8cc
Branch: refs/heads/camel-2.18.x
Commit: 69e1a8cc7b6a5090f1a7a38ccf6678a3abe166f7
Parents: 2e2a49e
Author: acampbel <ad...@neustar.biz>
Authored: Thu Dec 8 08:55:28 2016 -0500
Committer: Claus Ibsen <da...@apache.org>
Committed: Thu Dec 8 15:14:40 2016 +0100
----------------------------------------------------------------------
.../file/remote/strategy/SftpChangedExclusiveReadLockStrategy.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/69e1a8cc/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/strategy/SftpChangedExclusiveReadLockStrategy.java
----------------------------------------------------------------------
diff --git a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/strategy/SftpChangedExclusiveReadLockStrategy.java b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/strategy/SftpChangedExclusiveReadLockStrategy.java
index 7ac91c1..1efe642 100644
--- a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/strategy/SftpChangedExclusiveReadLockStrategy.java
+++ b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/strategy/SftpChangedExclusiveReadLockStrategy.java
@@ -90,7 +90,7 @@ public class SftpChangedExclusiveReadLockStrategy implements GenericFileExclusiv
match = f.getFilename().equals(file.getFileNameOnly());
}
if (match) {
- newLastModified = f.getAttrs().getMTime() * 1000;
+ newLastModified = f.getAttrs().getMTime() * 1000L;
newLength = f.getAttrs().getSize();
}
}