Fix error message for CVE-2021-23222
@@ -193,8 +193,8 @@ int od_tls_backend_connect(od_server_t *server, od_logger_t *logger,
od_debug(logger, "tls", NULL, server, "supported");
if (od_readahead_unread(&server->io.readahead) > 0) {
od_error(logger, "tls", NULL, server,
- "extraneous data from client");
- return -1; // prevent possible buffer, protecting against CVE-2021-23214-like attacks
+ "extraneous data from server");
+ return -1; // prevent possible buffer, protecting against CVE-2021-23222-like attacks
}
rc = machine_set_tls(server->io.io, server->tls, UINT32_MAX);
