Skip to content

Commit

Permalink
fixup! Add support for streams to the quic-client fuzzer
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcaswell committed Nov 2, 2023
1 parent 2a460c1 commit 93749aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fuzz/quic-client.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ int FuzzerTestOneInput(const uint8_t *buf, size_t len)
size_t size;
uint64_t nxtpktms = 0;
OSSL_TIME nxtpkt = ossl_time_zero(), nxttimeout;
int isinf, ret;
int isinf, ret = 0;

if (len >= 2) {
if (len >= 5 && buf[0] == 0xff && buf[1] == 0xff) {
Expand All @@ -135,7 +135,6 @@ int FuzzerTestOneInput(const uint8_t *buf, size_t len)
state = CREATING_STREAM;
break;
case 0x02:
assert(0);
if (state == READING)
state = SWAPPING_STREAM;
break;
Expand Down

0 comments on commit 93749aa

Please sign in to comment.