diff options
author | cypherpunks <cypherpunks@torproject.org> | 2018-08-17 17:25:24 +0000 |
---|---|---|
committer | cypherpunks <cypherpunks@torproject.org> | 2018-08-17 17:25:24 +0000 |
commit | 18416b2cf0822ec9579854291292cb0ba4d4844a (patch) | |
tree | 1d0b3415d357ab2cb362f3a940209e3605d6d90f /src/test | |
parent | 4f3e6d5027c6c5ee49929f5329235f6c5de6ef6a (diff) | |
download | tor-18416b2cf0822ec9579854291292cb0ba4d4844a.tar.gz tor-18416b2cf0822ec9579854291292cb0ba4d4844a.zip |
test/protover: add test for whitespace parsing bug
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_protover.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/test_protover.c b/src/test/test_protover.c index 907b334bee..b9b0858595 100644 --- a/src/test/test_protover.c +++ b/src/test/test_protover.c @@ -579,6 +579,10 @@ test_protover_vote_roundtrip(void *args) { "Link=1-2-3", NULL }, { "Faux=1-2-", NULL }, { "Faux=1-2-3", NULL }, + { "Link=\t1,3", NULL }, + { "Link=1\n,3", NULL }, + { "Faux=1,\r3", NULL }, + { "Faux=1,3\f", NULL }, /* Large integers */ { "Link=4294967296", NULL }, /* Large range */ |