Skip to content
Snippets Groups Projects
Commit 54834ba7 authored by Yang Gao's avatar Yang Gao
Browse files

Merge pull request #4358 from ctiller/abortive-continuations

Expand header testing
parents 8360cabd 300207e7
No related branches found
No related tags found
No related merge requests found
...@@ -268,12 +268,20 @@ int main(int argc, char **argv) { ...@@ -268,12 +268,20 @@ int main(int argc, char **argv) {
"\x00\x00\x00\x01\x04\x00\x00\x00\x01" "\x00\x00\x00\x01\x04\x00\x00\x00\x01"
"\x00\x00\x00\x01\x00\x00\x00\x00\x03" "\x00\x00\x00\x01\x00\x00\x00\x00\x03"
"\x00\x00\x00\x09\x04\x00\x00\x00\x01", "\x00\x00\x00\x09\x04\x00\x00\x00\x01",
GRPC_BAD_CLIENT_DISCONNECT); 0);
/* opening with a continuation frame */ /* opening with a continuation frame */
GRPC_RUN_BAD_CLIENT_TEST(verifier, GRPC_RUN_BAD_CLIENT_TEST(verifier,
PFX_STR PFX_STR
"\x00\x00\x00\x09\x04\x00\x00\x00\x01", "\x00\x00\x00\x09\x04\x00\x00\x00\x01",
0); 0);
/* three header frames */
GRPC_RUN_BAD_CLIENT_TEST(verifier,
PFX_STR
"\x00\x00\x00\x01\x04\x00\x00\x00\x01"
"\x00\x00\x00\x01\x04\x00\x00\x00\x01"
"\x00\x00\x00\x01\x04\x00\x00\x00\x01",
GRPC_BAD_CLIENT_DISCONNECT);
/* an invalid header found with fuzzing */ /* an invalid header found with fuzzing */
GRPC_RUN_BAD_CLIENT_TEST(verifier, GRPC_RUN_BAD_CLIENT_TEST(verifier,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment