Loading src/sec-mod-resume.c +2 −1 Original line number Diff line number Diff line Loading @@ -126,7 +126,8 @@ int handle_resume_store_req(sec_mod_st *sec, if (req->session_id.len > GNUTLS_MAX_SESSION_ID) return -1; if (req->session_data.len > MAX_SESSION_DATA_SIZE) if (req->session_data.len == 0 || req->session_data.len > MAX_SESSION_DATA_SIZE) return -1; max = MAX(2 * GETRCONFIG(sec)->max_clients, Loading src/worker-resume.c +2 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,8 @@ static int recv_resume_fetch_reply(worker_st *ws, int sd, gnutls_datum_t *sdata) return ret; } if (resp->reply != SESSION_RESUME_REPLY_MSG__RESUME__REP__OK) { if (resp->reply != SESSION_RESUME_REPLY_MSG__RESUME__REP__OK || resp->session_data.len == 0) { ret = -1; goto cleanup; } Loading Loading
src/sec-mod-resume.c +2 −1 Original line number Diff line number Diff line Loading @@ -126,7 +126,8 @@ int handle_resume_store_req(sec_mod_st *sec, if (req->session_id.len > GNUTLS_MAX_SESSION_ID) return -1; if (req->session_data.len > MAX_SESSION_DATA_SIZE) if (req->session_data.len == 0 || req->session_data.len > MAX_SESSION_DATA_SIZE) return -1; max = MAX(2 * GETRCONFIG(sec)->max_clients, Loading
src/worker-resume.c +2 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,8 @@ static int recv_resume_fetch_reply(worker_st *ws, int sd, gnutls_datum_t *sdata) return ret; } if (resp->reply != SESSION_RESUME_REPLY_MSG__RESUME__REP__OK) { if (resp->reply != SESSION_RESUME_REPLY_MSG__RESUME__REP__OK || resp->session_data.len == 0) { ret = -1; goto cleanup; } Loading