mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
test/protover: add test for whitespace parsing bug
This commit is contained in:
parent
4f3e6d5027
commit
18416b2cf0
@ -579,6 +579,10 @@ test_protover_vote_roundtrip(void *args)
|
|||||||
{ "Link=1-2-3", NULL },
|
{ "Link=1-2-3", NULL },
|
||||||
{ "Faux=1-2-", NULL },
|
{ "Faux=1-2-", NULL },
|
||||||
{ "Faux=1-2-3", 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 */
|
/* Large integers */
|
||||||
{ "Link=4294967296", NULL },
|
{ "Link=4294967296", NULL },
|
||||||
/* Large range */
|
/* Large range */
|
||||||
|
Loading…
Reference in New Issue
Block a user