From 77da1d910443cae455b5764d8d768bd3870f45ed Mon Sep 17 00:00:00 2001 From: Christos Tsantilas Date: Fri, 9 Aug 2019 04:18:37 +0000 Subject: [PATCH] Fix parsing of certificate validator responses (#452) If a certificate validator did not end its response with an end-of-line or whitespace character, then Squid, while parsing the response, accessed the bytes after the end of the buffer where the response is stored. This is a Measurement Factory project. --- src/ssl/cert_validate_message.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssl/cert_validate_message.cc b/src/ssl/cert_validate_message.cc index 3f250dd044..deec6518db 100644 --- a/src/ssl/cert_validate_message.cc +++ b/src/ssl/cert_validate_message.cc @@ -171,7 +171,7 @@ Ssl::CertValidationMsg::parseResponse(CertValidationResponse &resp, std::string return false; } - param = value + value_len +1; + param = value + value_len; } /*Run through parsed errors to check for errors*/ -- 2.47.3