Skip to content

Commit 48ab1ba

Browse files
author
Justin Boswell
authored
Fixed tests to match tracer API updates (#160)
1 parent 325481b commit 48ab1ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/fuzz/fuzz_h2_decoder.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ AWS_EXTERN_C_BEGIN
2525
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
2626

2727
/* Setup allocator and parameters */
28-
struct aws_allocator *allocator = aws_mem_tracer_new(aws_default_allocator(), AWS_MEMTRACE_BYTES, 0);
28+
struct aws_allocator *allocator = aws_mem_tracer_new(aws_default_allocator(), NULL, AWS_MEMTRACE_BYTES, 0);
2929
struct aws_byte_cursor to_decode = aws_byte_cursor_from_array(data, size);
3030

3131
/* Enable logging */

tests/fuzz/fuzz_h2_frames.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ AWS_EXTERN_C_BEGIN
2323

2424
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
2525

26-
struct aws_allocator *allocator = aws_mem_tracer_new(aws_default_allocator(), AWS_MEMTRACE_BYTES, 0);
26+
struct aws_allocator *allocator = aws_mem_tracer_new(aws_default_allocator(), NULL, AWS_MEMTRACE_BYTES, 0);
2727
struct aws_byte_cursor to_decode = aws_byte_cursor_from_array(data, size);
2828

2929
aws_hpack_static_table_init(allocator);

0 commit comments

Comments
 (0)