diff options
author | cypherpunks <cypherpunks@torproject.org> | 2018-08-17 17:14:25 +0000 |
---|---|---|
committer | cypherpunks <cypherpunks@torproject.org> | 2018-08-17 17:21:46 +0000 |
commit | 4f3e6d5027c6c5ee49929f5329235f6c5de6ef6a (patch) | |
tree | f38d321c7bc64eaf58e03b2ea1b34db43af4d01b /src/test/test_protover.c | |
parent | 87aacbfbba2e2fee67de218b721c0bdb9a0ae73a (diff) | |
download | tor-4f3e6d5027c6c5ee49929f5329235f6c5de6ef6a.tar.gz tor-4f3e6d5027c6c5ee49929f5329235f6c5de6ef6a.zip |
test/protover: add test for hyphen parsing bug
Diffstat (limited to 'src/test/test_protover.c')
-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 0948cd5640..907b334bee 100644 --- a/src/test/test_protover.c +++ b/src/test/test_protover.c @@ -575,6 +575,10 @@ test_protover_vote_roundtrip(void *args) { "Faux=-1", NULL }, { "Faux=-1-3", NULL }, { "Faux=1--1", NULL }, + { "Link=1-2-", NULL }, + { "Link=1-2-3", NULL }, + { "Faux=1-2-", NULL }, + { "Faux=1-2-3", NULL }, /* Large integers */ { "Link=4294967296", NULL }, /* Large range */ |