diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-04-21 12:33:52 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-04-23 13:51:32 +0200 |
commit | 0a3589ccd0dbf5f3a826b669517ccc12893fa153 (patch) | |
tree | 8db1f2732758e7bec9842316f9a69fab2a7f4dc6 /docs/examples/http2-download.c | |
parent | a39593d2823fd05be609bdd3eac6f1dd005c747f (diff) |
http2: convert an assert to run-time check
Fuzzing has proven we can reach code in on_frame_recv with status_code
not having been set, so let's detect that in run-time (instead of with
assert) and error error accordingly.
(This should no longer happen with the latest nghttp2)
Detected by OSS-Fuzz
Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=7903
Closes #2514
Diffstat (limited to 'docs/examples/http2-download.c')
0 files changed, 0 insertions, 0 deletions