This is an automated email from the ASF dual-hosted git repository.

ChristopherSchultz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-connectors.git

commit cebc3142e8831f496169718f404e4ee37088c8f6
Author: Christopher Schultz <[email protected]>
AuthorDate: Mon Jun 8 13:01:11 2026 -0400

    Fix typo
---
 native/common/jk_pool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/native/common/jk_pool.c b/native/common/jk_pool.c
index 9adbfa761..3c4ccf714 100644
--- a/native/common/jk_pool.c
+++ b/native/common/jk_pool.c
@@ -65,7 +65,7 @@ void *jk_pool_alloc(jk_pool_t *p, size_t size)
     if (size == 0)
         return NULL;
 
-    if (sz > SIZE_MAX - JK_ALIGN_DEFAULT(1)) {
+    if (size > SIZE_MAX - JK_ALIGN_DEFAULT(1)) {
         return NULL;
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to