mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Add fuzzing support for several more groups of kvlines flags
This commit is contained in:
parent
73df91bbb5
commit
bb37ad6957
@ -235,6 +235,18 @@ fuzz_main(const uint8_t *stdin_buf, size_t data_size)
|
||||
kv_flags = 0;
|
||||
ENCODE_ROUNDTRIP(kv_enc, kv_dec, config_free_lines_);
|
||||
break;
|
||||
case 7:
|
||||
kv_flags = KV_OMIT_VALS;
|
||||
ENCODE_ROUNDTRIP(kv_enc, kv_dec, config_free_lines_);
|
||||
break;
|
||||
case 8:
|
||||
kv_flags = KV_QUOTED;
|
||||
ENCODE_ROUNDTRIP(kv_enc, kv_dec, config_free_lines_);
|
||||
break;
|
||||
case 9:
|
||||
kv_flags = KV_QUOTED|KV_OMIT_VALS;
|
||||
ENCODE_ROUNDTRIP(kv_enc, kv_dec, config_free_lines_);
|
||||
break;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user