This is an automated email from the ASF dual-hosted git repository. jfclere pushed a commit to branch 1.3.x in repository https://gitbox.apache.org/repos/asf/tomcat-native.git
The following commit(s) were added to refs/heads/1.3.x by this push: new b8ecc7d7a prevent crash when using a recent tomcat-9.0.x, we get an expection later instead. b8ecc7d7a is described below commit b8ecc7d7a1d543f73a77ac782c6fa94c1d30d0f1 Author: Jean-Frederic Clere <jfcl...@gmail.com> AuthorDate: Thu Jun 26 10:54:24 2025 +0200 prevent crash when using a recent tomcat-9.0.x, we get an expection later instead. --- native/src/info.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/native/src/info.c b/native/src/info.c index 01d1ae4c2..216bf38ab 100644 --- a/native/src/info.c +++ b/native/src/info.c @@ -346,6 +346,8 @@ TCN_IMPLEMENT_CALL(jobject, Address, getInfo)(TCN_STDARGS, jlong info) UNREFERENCED(o); /* Create the APR Error object */ + if (ainfo_class == NULL) + return NULL; sockaddrObj = (*e)->NewObject(e, ainfo_class, ainfo_class_init); if (sockaddrObj == NULL) return NULL; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org