Skip to content
Snippets Groups Projects
Commit 28fb56f4 authored by Craig Tiller's avatar Craig Tiller
Browse files

Initial test fix

parent 46b18c9c
No related branches found
No related tags found
No related merge requests found
Showing
with 3 additions and 1 deletion
...@@ -207,7 +207,7 @@ const char *read_ssl_artifact(struct ssl_artifact_ctx *ctx, input_stream *inp, ...@@ -207,7 +207,7 @@ const char *read_ssl_artifact(struct ssl_artifact_ctx *ctx, input_stream *inp,
uint8_t b = next_byte(inp); uint8_t b = next_byte(inp);
if (b == 0) return NULL; if (b == 0) return NULL;
if (b == 1) return ctx->release[ctx->num_release++] = read_string(inp); if (b == 1) return ctx->release[ctx->num_release++] = read_string(inp);
if (b > num_builtins + 1) { if (b >= num_builtins + 1) {
end(inp); end(inp);
return NULL; return NULL;
} }
...@@ -1028,6 +1028,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { ...@@ -1028,6 +1028,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
grpc_channel_args_destroy(args); grpc_channel_args_destroy(args);
gpr_free(target_uri); gpr_free(target_uri);
gpr_free(target); gpr_free(target);
grpc_channel_credentials_release(creds);
} else { } else {
end(&inp); end(&inp);
} }
......
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added

\ No newline at end of file
File added
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment