You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2025/01/15 01:43:15 UTC
(cxf) branch 4.0.x-fixes updated (6997767b4a -> 127dedad49)
This is an automated email from the ASF dual-hosted git repository.
reta pushed a change to branch 4.0.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
from 6997767b4a [CXF-9099]GZIPOutInterceptor : ensure the CXF headers that GZIPOutInterceptor needs to resize is modifiable
new d322582f5a Bump org.owasp:dependency-check-maven from 11.1.1 to 12.0.0 (#2223)
new 8c5105ff59 Bump github/codeql-action from 3.28.0 to 3.28.1 (#2222)
new b4b057e179 Update Arquillian to 1.8.1.Final
new d71adc9437 CXF-9065: StackOverflow Exception during execution of WebClient POST Request on SSLUtils class (#2224)
new 0692f64f9a Recording .gitmergeinfo Changes
new 127dedad49 Recording .gitmergeinfo Changes
The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/codeql-analysis.yml | 4 +-
.gitmergeinfo | 7 +++
parent/pom.xml | 2 +-
pom.xml | 2 +-
.../org/apache/cxf/transport/https/SSLUtils.java | 7 ++-
.../apache/cxf/transport/https/SSLUtilsTest.java | 64 ++++++++++++++++++++++
6 files changed, 81 insertions(+), 5 deletions(-)
create mode 100644 rt/transports/http/src/test/java/org/apache/cxf/transport/https/SSLUtilsTest.java
(cxf) 02/06: Bump github/codeql-action from 3.28.0 to 3.28.1 (#2222)
Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch 4.0.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 8c5105ff598060a858569ce087055dbf29de106b
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Mon Jan 13 17:22:46 2025 -0500
Bump github/codeql-action from 3.28.0 to 3.28.1 (#2222)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.0 to 3.28.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/48ab28a6f5dbc2a99bf1e0131198dd8f1df78169...b6a472f63d85b9c78a3ac5e89422239fc15e9b3c)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <su...@github.com>
Co-authored-by: dependabot[bot] <49...@users.noreply.github.com>
(cherry picked from commit 1b802d1f5ecccc6746afe28afc536266eb0f92a4)
# Conflicts:
# .github/workflows/scorecards.yml
---
.github/workflows/codeql-analysis.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 3e84b75ca0..b1a108410d 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -44,7 +44,7 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
+ uses: github/codeql-action/init@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # v3.28.1
with:
languages: java
#config-file: ./.github/codeql/codeql-cxf-config.yml
@@ -72,4 +72,4 @@ jobs:
# make release
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
+ uses: github/codeql-action/analyze@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # v3.28.1
(cxf) 03/06: Update Arquillian to 1.8.1.Final
Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch 4.0.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
commit b4b057e179165ec6a29207f57baf43d64a1a8c03
Author: Andriy Redko <dr...@gmail.com>
AuthorDate: Mon Jan 13 17:58:18 2025 -0500
Update Arquillian to 1.8.1.Final
(cherry picked from commit bad6feb8b5bd18ef7d817a1424d960f77a5be595)
# Conflicts:
# parent/pom.xml
---
parent/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/parent/pom.xml b/parent/pom.xml
index 15ae26e4d9..56da36df32 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -90,7 +90,7 @@
<!-- please maintain alphabetical order here -->
<cxf.activemq.artemis.version>2.39.0</cxf.activemq.artemis.version>
<cxf.ahc.version>3.0.1</cxf.ahc.version>
- <cxf.arquillian.version>1.8.0.Final</cxf.arquillian.version>
+ <cxf.arquillian.version>1.8.1.Final</cxf.arquillian.version>
<cxf.arquillian.weld.container.version>3.0.0.Final</cxf.arquillian.weld.container.version>
<cxf.aspectj.version>1.9.22.1</cxf.aspectj.version>
<cxf.assertj.version>3.27.2</cxf.assertj.version>
(cxf) 04/06: CXF-9065: StackOverflow Exception during execution of WebClient POST Request on SSLUtils class (#2224)
Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch 4.0.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
commit d71adc9437adf1b0a218159f87689533cc8f02e2
Author: Andriy Redko <dr...@gmail.com>
AuthorDate: Tue Jan 14 17:59:59 2025 -0500
CXF-9065: StackOverflow Exception during execution of WebClient POST Request on SSLUtils class (#2224)
(cherry picked from commit 1d3d700fd88bb1326bfd4a650a6db2f6585eaf2d)
---
.../org/apache/cxf/transport/https/SSLUtils.java | 7 ++-
.../apache/cxf/transport/https/SSLUtilsTest.java | 64 ++++++++++++++++++++++
2 files changed, 70 insertions(+), 1 deletion(-)
diff --git a/rt/transports/http/src/main/java/org/apache/cxf/transport/https/SSLUtils.java b/rt/transports/http/src/main/java/org/apache/cxf/transport/https/SSLUtils.java
index 9c6da933ba..ba34a645c7 100644
--- a/rt/transports/http/src/main/java/org/apache/cxf/transport/https/SSLUtils.java
+++ b/rt/transports/http/src/main/java/org/apache/cxf/transport/https/SSLUtils.java
@@ -293,7 +293,12 @@ public final class SSLUtils {
static class SSLEngineWrapper extends SSLEngine {
final SSLEngine delegate;
SSLEngineWrapper(SSLEngine delegate) {
- this.delegate = delegate;
+ // Unwrap the delegate if it is an instance of the SSLEngineWrapper
+ if (delegate instanceof SSLEngineWrapper) {
+ this.delegate = ((SSLEngineWrapper) delegate).delegate;
+ } else {
+ this.delegate = delegate;
+ }
}
public SSLParameters getSSLParameters() {
//make sure the hostname verification is not done in the default X509 stuff
diff --git a/rt/transports/http/src/test/java/org/apache/cxf/transport/https/SSLUtilsTest.java b/rt/transports/http/src/test/java/org/apache/cxf/transport/https/SSLUtilsTest.java
new file mode 100644
index 0000000000..66a1cc2786
--- /dev/null
+++ b/rt/transports/http/src/test/java/org/apache/cxf/transport/https/SSLUtilsTest.java
@@ -0,0 +1,64 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.transport.https;
+
+import java.security.NoSuchAlgorithmException;
+
+import javax.net.ssl.SSLContext;
+import javax.net.ssl.SSLEngine;
+
+import org.apache.cxf.transport.https.SSLUtils.SSLEngineWrapper;
+
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+
+import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.CoreMatchers.not;
+import static org.hamcrest.CoreMatchers.nullValue;
+import static org.hamcrest.MatcherAssert.assertThat;
+
+
+public class SSLUtilsTest {
+ private SSLEngine engine;
+
+ @Before
+ public void setUp() throws NoSuchAlgorithmException {
+ engine = SSLContext.getDefault().createSSLEngine();
+ }
+
+ @After
+ public void tearDown() throws Exception {
+ engine.closeInbound();
+ engine.closeOutbound();
+ engine = null;
+ }
+
+ @Test
+ public void testCXF9065() throws NoSuchAlgorithmException, InterruptedException {
+ SSLEngineWrapper wrapper = new SSLEngineWrapper(engine);
+
+ for (int i = 0; i < 15000; ++i) {
+ wrapper = new SSLEngineWrapper(wrapper);
+ }
+
+ assertThat(wrapper.getSSLParameters(), is(not(nullValue())));
+ }
+}
(cxf) 01/06: Bump org.owasp:dependency-check-maven from 11.1.1 to 12.0.0 (#2223)
Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch 4.0.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
commit d322582f5abdc9b28d92c1d0d623e06793e40a43
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Mon Jan 13 17:22:31 2025 -0500
Bump org.owasp:dependency-check-maven from 11.1.1 to 12.0.0 (#2223)
Bumps [org.owasp:dependency-check-maven](https://github.com/jeremylong/DependencyCheck) from 11.1.1 to 12.0.0.
- [Release notes](https://github.com/jeremylong/DependencyCheck/releases)
- [Changelog](https://github.com/jeremylong/DependencyCheck/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jeremylong/DependencyCheck/compare/v11.1.1...v12.0.0)
---
updated-dependencies:
- dependency-name: org.owasp:dependency-check-maven
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <su...@github.com>
Co-authored-by: dependabot[bot] <49...@users.noreply.github.com>
(cherry picked from commit fd8af4bb3720317adaa54f66155e5fa73d05dbe3)
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index a91781585a..7f0420ba19 100644
--- a/pom.xml
+++ b/pom.xml
@@ -45,7 +45,7 @@
<cxf.jdk.version>11</cxf.jdk.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<site.deploy.url>scp://people.apache.org/www/cxf.apache.org/maven-site</site.deploy.url>
- <maven-owasp-plugin-version>11.1.1</maven-owasp-plugin-version>
+ <maven-owasp-plugin-version>12.0.0</maven-owasp-plugin-version>
<preparationGoals>clean install</preparationGoals>
</properties>
<distributionManagement>
(cxf) 05/06: Recording .gitmergeinfo Changes
Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch 4.0.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 0692f64f9abac556ceff8a199a8bc7954479e653
Author: Andriy Redko <dr...@gmail.com>
AuthorDate: Tue Jan 14 20:42:34 2025 -0500
Recording .gitmergeinfo Changes
---
.gitmergeinfo | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/.gitmergeinfo b/.gitmergeinfo
index 6753a53fea..9f9279be9f 100644
--- a/.gitmergeinfo
+++ b/.gitmergeinfo
@@ -37,6 +37,7 @@ M 1aa37ee19b69b96d4d4dd0313f9ea48b130ac586
M 1b1024c19f19a23c548e510d528649e549e081e7
M 1b1f7cd3e96a2426d6438f55e1df4d83daa4e858
M 1b6075adb08cddb8386b75b388fefe66c6824bfd
+M 1b802d1f5ecccc6746afe28afc536266eb0f92a4
M 1cc6c44d80ec8562b8a0810667d2e498f50f94cb
M 1dfc5df495acdab16ef48597719963d4c4adf75e
M 1e008f16c857d712f7167823fbf5a94b87779d3a
@@ -51,6 +52,7 @@ M 234eab1d3505bd892f0517a2f6b9bc512475facf
M 23fe6df440bb1718a46d2499a253b1b7b421a73d
M 261528901c836356beff20d53db97a7d9d629ea8
M 287a09ab934ef5d0de2790302d6107c432067f84
+M 29a31b10846b4d95bbcd85b70a5b9be21ffbac3e
M 2b500aab12654c1b1704870096f6ab86e3beff83
M 2c73505856b6afb071aec6c00e482bfd82a7a7f5
M 2d7a1d2b158f13efd87b75d7b4959730d4968f91
@@ -115,6 +117,7 @@ M 54bdaca5fc884d107c4e56f7a762a1ec8b165695
M 54c3ce63ef139f99c12f2290b2107c2f428fba51
M 5744ce42c98422a96ca4f2c92213e9ff56f97804
M 5820a625f1485793b148e1479a37989ebd4bc15b
+M 58ad38cd0ce8dabca103072c529d31093ef9f2a3
M 593c6d9cbd5ae883750c16d784b832b1d019aa15
M 59a167fdd6dabbd872dae8fbc7620b3a70137038
M 5b95d12519be5d804f89bff8854e40acb0268834
@@ -238,6 +241,7 @@ M b8cf8adf5842b98e6a2cac53a40a7aba414e13a0
M b9954acb99f53a223d9ce94a243286df1246010c
M b9ca69f82c342875cb9f90c4e838ada259ee407e
M ba8e92cc655aa54dc6c52342b64590195cfaff12
+M bad6feb8b5bd18ef7d817a1424d960f77a5be595
M baec16565652e02e471889c3a13ba619af1057b7
M bb1ea6bac4f980144becebcd79533ca736b44342
M bca6dd3c53ad6666f0361c8a27bac2a874f9f5de
@@ -274,6 +278,7 @@ M cf1b05411d25ef397f2b94059b3f56eb1ddcfd20
M d1b00ae6b906c7511a176e50775e97a7d9f043cc
M d1e7f67d939da5368bc83b1212b5a08d33d8c9bf
M d561796d14982c46452d15ed78b6a0892bdb2a18
+M d58847626b4cc50f9b654704571e330cee52bfb5
M d5cbaed0117b679a2b4c391278720183ca090861
M d602fda008e2981081f38474eb05cb34809c4af1
M d77fd08202c101e7e1228162666b291604397aa4
@@ -336,4 +341,5 @@ M fab33b61dbf8aca70d446a144373d28a2421533d
M fafb226d98d7cb797c0831c532e667c17c2950db
M fbf471f19f607a556b64a804542f67c276e2e0e2
M fcecec5e53f0fa56ae787cfa5a871edf26166e88
+M fd8af4bb3720317adaa54f66155e5fa73d05dbe3
M ff315d8ebf1facf449a9fdeb7d9d5605f0e1a940
(cxf) 06/06: Recording .gitmergeinfo Changes
Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch 4.0.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 127dedad49edaaca13e969858b667cf40ad8a239
Author: Andriy Redko <dr...@gmail.com>
AuthorDate: Tue Jan 14 20:43:01 2025 -0500
Recording .gitmergeinfo Changes
---
.gitmergeinfo | 1 +
1 file changed, 1 insertion(+)
diff --git a/.gitmergeinfo b/.gitmergeinfo
index 9f9279be9f..5e2387d19c 100644
--- a/.gitmergeinfo
+++ b/.gitmergeinfo
@@ -218,6 +218,7 @@ M a156bbae372f325fd5eff17d900d398e95c46ac2
M a1d666c14567e93b6c231c4a125f8bf845289431
M a3b103fc801bd660fe4dcc7c8c8e74cdba03db26
M a3cd8018e169bf070ffc189818ce508f21e28115
+M a4a936400b8f05ebdaf5e076182fb5a8961a39d8
M a57e914546a0624c78c823547d9a4cc8d7b3389f
M a71713898dc4866865df8abe1b76ff6c34e9de6d
M a9933e7d7137c29ebbad34683e19d4c5d739e737