Laramie Leavitt 25a25f45ae
http: consolidate nghttp2_session_mem_recv() call paths
Previously there were several locations that called
nghttp2_session_mem_recv and handled responses slightly differently.
Those have been converted to call the existing
h2_process_pending_input() function.

Moved the end-of-session check to h2_process_pending_input() since the
only place the end-of-session state can change is after nghttp2
processes additional input frames.

This will likely fix the fuzzing error. While I don't have a root cause
the out-of-bounds read seems like a use after free, so moving the
nghttp2_session_check_request_allowed() call to a location with a
guaranteed nghttp2 session seems reasonable.

Also updated a few nghttp2 callsites to include error messages and added
a few additional error checks.

Closes #5648
2020-09-10 17:43:47 +02:00
..
2020-09-08 13:53:02 +02:00
2019-03-15 10:22:42 +01:00
2019-03-15 10:22:42 +01:00
2020-09-10 08:50:04 +02:00
2020-09-02 22:41:58 +02:00
2020-09-02 22:41:58 +02:00
2020-08-31 09:45:09 +02:00
2020-05-14 18:13:27 +02:00
2019-11-08 14:51:42 +01:00
2019-11-08 14:51:42 +01:00
2020-08-03 23:43:24 +02:00
2020-09-08 13:53:02 +02:00
2019-11-08 14:51:42 +01:00
2020-09-02 22:41:58 +02:00
2020-04-25 11:15:49 +02:00
2020-08-24 08:41:48 +02:00
2019-11-08 14:51:42 +01:00
2019-11-08 14:51:42 +01:00
2020-09-02 22:41:58 +02:00
2020-09-02 22:41:58 +02:00
2020-09-02 22:41:58 +02:00
2020-09-02 22:41:58 +02:00
2019-11-08 14:51:42 +01:00
2020-07-14 17:53:45 +02:00
2020-08-03 23:43:24 +02:00
2020-05-14 18:13:27 +02:00
2019-11-08 14:51:42 +01:00
2019-11-08 14:51:42 +01:00
2020-09-02 22:41:58 +02:00
2020-09-02 22:41:58 +02:00
2020-08-31 09:45:09 +02:00
2020-09-02 22:41:58 +02:00
2020-09-02 22:41:58 +02:00
2019-05-17 23:24:34 +02:00
2020-09-08 13:53:02 +02:00
2020-07-28 23:51:17 +02:00
2019-11-08 14:51:42 +01:00
2020-02-18 07:49:15 +01:00
2019-11-08 14:51:42 +01:00
2020-09-08 13:53:02 +02:00
2020-09-02 22:41:59 +02:00
2019-11-08 14:51:42 +01:00
2019-11-08 14:51:42 +01:00
2020-05-25 19:44:04 +00:00
2020-05-25 19:44:04 +00:00
2020-08-24 08:41:48 +02:00
2020-08-24 08:41:48 +02:00
2020-07-18 12:37:25 +02:00
2020-08-24 08:41:48 +02:00
2019-11-08 14:51:42 +01:00
2019-11-08 14:51:42 +01:00
2019-11-08 14:51:42 +01:00
2020-02-19 08:04:35 +01:00
2020-08-31 09:45:09 +02:00