[core] quiet coverity noise

This commit is contained in:
Glenn Strauss 2021-05-08 18:32:14 -04:00
parent f8914ac381
commit 22e8f600f5
2 changed files with 5 additions and 3 deletions

View File

@ -2111,7 +2111,9 @@ h2_send_headers_block (request_st * const r, connection * const con, const char
"oversized response-header");
hoff[0] = 1;
hoff[1] = 0;
http_header_parse_hoff(CONST_STR_LEN(":status: 500\r\n\r\n"), hoff);
if (http_header_parse_hoff(CONST_STR_LEN(":status: 500\r\n\r\n"),hoff)){
/*(ignore for coverity; static string is successfully parsed)*/
}
}
/*(h2_init_con() resized h2r->tmp_buf to 64k; shared with r->tmp_buf)*/

View File

@ -20,7 +20,7 @@ static void run_buffer_path_simplify(buffer *psrc, buffer *pdest, const char *in
__LINE__,
in,
out,
pdest->ptr ? pdest->ptr : "");
pdest->ptr);
fflush(stderr);
abort();
} else {
@ -33,7 +33,7 @@ static void run_buffer_path_simplify(buffer *psrc, buffer *pdest, const char *in
__LINE__,
in,
out,
pdest->ptr ? pdest->ptr : "");
pdest->ptr);
fflush(stderr);
abort();
}