mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
c4a6b56cc1
Some DNS NXDOMAIN hijackers hijack truly ridiculous domains, like "invalid-stuff!!" or "1.2.3.4.5". This would provoke unit test failures where we used addresses like that to force tor_addr_lookup() to fail. The fix, for testing, is to mock tor_addr_lookup() with a variant that always fails when it gets a name with a !. Fixes bugs 20862 and 20863.
7 lines
252 B
Plaintext
7 lines
252 B
Plaintext
o Minor bugfixes (unit tests):
|
|
- Allow the unit tests to pass even when DNS lookups of bogus
|
|
addresses do not fail as expected. Fixes bug 20862 and 20863;
|
|
bugfix on unit tests introduced in 0.2.8.1-alpha through
|
|
0.2.9.4-alpha.
|
|
|