Fix wrong numbers being passed as string lengths
Signed-off-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(cherry picked from commit 0b142f022e)
This commit is contained in:
committed by
Richard Levitte
parent
ef116b0003
commit
b65b4c3481
@@ -2869,7 +2869,7 @@ static int www_body(char *hostname, int s, int stype, unsigned char *context)
|
||||
|
||||
/* else we have data */
|
||||
if (((www == 1) && (strncmp("GET ", buf, 4) == 0)) ||
|
||||
((www == 2) && (strncmp("GET /stats ", buf, 10) == 0))) {
|
||||
((www == 2) && (strncmp("GET /stats ", buf, 11) == 0))) {
|
||||
char *p;
|
||||
X509 *peer;
|
||||
STACK_OF(SSL_CIPHER) *sk;
|
||||
|
||||
Reference in New Issue
Block a user