diff options
author | David Goulet <dgoulet@torproject.org> | 2019-04-30 11:50:36 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2019-04-30 11:50:36 -0400 |
commit | 43c119fedbdf599241cd2e3e4292ae5fd55d527c (patch) | |
tree | 9af1e66268831467018499a2dcf65a20e778509e /src/test/fuzz | |
parent | e543c4e20c50035df61cdfaae75ee4dbb61409bf (diff) | |
parent | a5cced2b7acf4fb1818d6cd84c09a9ffe4dd1e89 (diff) | |
download | tor-43c119fedbdf599241cd2e3e4292ae5fd55d527c.tar.gz tor-43c119fedbdf599241cd2e3e4292ae5fd55d527c.zip |
Merge branch 'tor-github/pr/980'
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test/fuzz')
-rw-r--r-- | src/test/fuzz/fuzz_strops.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/fuzz/fuzz_strops.c b/src/test/fuzz/fuzz_strops.c index a37cbb5be8..459b4e21aa 100644 --- a/src/test/fuzz/fuzz_strops.c +++ b/src/test/fuzz/fuzz_strops.c @@ -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; |