This is an automated email from the ASF dual-hosted git repository.
markt 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 fa1ee7bc8 Limit the boundary of ocsp payload chars (#39)
fa1ee7bc8 is described below
commit fa1ee7bc85699136e0b47d3a3747253e78facd70
Author: Chenjp <[email protected]>
AuthorDate: Sat Feb 14 01:35:12 2026 +0800
Limit the boundary of ocsp payload chars (#39)
Code review: Using actual ocsp response payload size.
---
native/src/sslutils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/native/src/sslutils.c b/native/src/sslutils.c
index a8b168b62..28ae84073 100644
--- a/native/src/sslutils.c
+++ b/native/src/sslutils.c
@@ -961,7 +961,7 @@ static OCSP_RESPONSE *ocsp_get_resp(apr_pool_t *mp,
apr_socket_t *sock)
}
}
- resp = parse_ocsp_resp(buf, buflen);
+ resp = parse_ocsp_resp(buf, totalread);
apr_pool_destroy(p);
return resp;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]