Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-30 | Merge branch 'maint-0.2.7' | Nick Mathewson | |
2015-11-30 | Add changes file for 17722 | cypherpunks | |
2015-11-30 | Fix undefined behavior caused by memory overlap | cypherpunks | |
The tor_cert_get_checkable_sig function uses the signing key included in the certificate (if available) when a separate public key is not given. When the signature is valid, the tor_cert_checksig function copies the public key from the checkable structure to the public key field of the certificate signing key. In situations where the separate public key is not given but the certificate includes a signing key, the source and destination pointers in the copy operation are equal and invoke undefined behavior. Undefined behaviour is avoided by ensuring both pointers are different. | |||
2015-12-01 | Avoid relying on malloc internals in test_rend_cache_purge. | teor (Tim Wilson-Brown) | |
Closes ticket 17724. Bug fix on ade5005853c1 and 5e9f2384cf0f, not in any released version of Tor. Patch by "teor". | |||
2015-11-27 | More fixes/debugging attempts for 17659 | Nick Mathewson | |
2015-11-27 | Add a stack trace for help debugging one part of 17659 | Nick Mathewson | |
2015-11-27 | Merge branch 'fix-policies-memory-v2-squashed' | Nick Mathewson | |
2015-11-27 | Fix memory leak in policies test | cypherpunks | |
2015-11-27 | Fix use-after-free of stack memory in getinfo_helper_policies | teor (Tim Wilson-Brown) | |
2015-11-27 | Fix use-after-free of stack memory in policies_parse_exit_policy* | teor (Tim Wilson-Brown) | |
Change the function names & comments to make the copying explicit. | |||
2015-11-27 | use sockaddr_storage for stack-allocated sockets in ersatz socketpair | Nick Mathewson | |
2015-11-27 | Make SIZEOF_SOCKADDR return socklen_t to avoid bad compares. | Nick Mathewson | |
2015-11-27 | Use uint16_t, not in_port_t (which does not exist on Windows). See #17638. | Nick Mathewson | |
2015-11-27 | Check magic number in connection_ap_attach_pending | Nick Mathewson | |
2015-11-26 | improve log messages to try to track down #17659 | Nick Mathewson | |
2015-11-27 | Unit test the full length of SHA256 and SHA512 digests | teor (Tim Wilson-Brown) | |
Bugfix on a tor version before the refactoring in git commit cea12251995d (23 Sep 2009). Patch by "teor". | |||
2015-11-26 | Merge remote-tracking branch 'teor/rand-failure-modes-v2' | Nick Mathewson | |
2015-11-26 | Fix buffer size in sha512 unit test | Nick Mathewson | |
Nobody likes a stack overflow, even in unit tests. Closes 17699; but not in any released tor. | |||
2015-11-26 | Fix test_tortls.c to no longer test failing crypto_rand. | Nick Mathewson | |
(crypto_rand is no longer allowed to fail.) Closes bug 17686; bug not in any released tor. (No backport, since the tortls tests aren't in 0.2.7) | |||
2015-11-26 | Correctly free a smartlist in getinfo_helper_policies | teor (Tim Wilson-Brown) | |
2015-11-26 | Quote variables in case they contain spaces | cypherpunks | |
2015-11-26 | Add unit tests that check for common RNG failure modes | teor (Tim Wilson-Brown) | |
Check that crypto_rand doesn't return all zeroes, identical values, or incrementing values (OpenSSL's rand_predictable feature). | |||
2015-11-25 | Merge branch 'bug17686_v2_027' | Nick Mathewson | |
2015-11-25 | Add a changes file for bug 17686 | Nick Mathewson | |
2015-11-25 | Fix documentation for crypto_rand* | Nick Mathewson | |
2015-11-25 | Now that crypto_rand() cannot fail, it should return void. | Nick Mathewson | |
2015-11-25 | Add crypto-initializer functions to those whose return values must be checked | Nick Mathewson | |
2015-11-25 | Make crypto_seed_rng() and crypto_rand() less scary. | Nick Mathewson | |
These functions must really never fail; so have crypto_rand() assert that it's working okay, and have crypto_seed_rng() demand that callers check its return value. Also have crypto_seed_rng() check RAND_status() before returning. | |||
2015-11-25 | Merge remote-tracking branch 'teor/check-crypto-errors-v2' | Nick Mathewson | |
2015-11-25 | fixup! Add controller getinfo exit-policy/reject-private | teor (Tim Wilson-Brown) | |
Stop ignoring ExitPolicyRejectPrivate in getinfo exit-policy/reject-private. Fix a memory leak. Set ExitPolicyRejectPrivate in the unit tests, and make a mock function declaration static. | |||
2015-11-26 | Check the return value of HMAC in crypto.c and assert on error | teor (Tim Wilson-Brown) | |
Fixes bug #17658; bugfix on commit in fdbb9cdf746b (11 Oct 2011) in tor version 0.2.3.5-alpha-dev. | |||
2015-11-25 | Merge branch 'bug17654_try1' | Nick Mathewson | |
2015-11-25 | Attempt to make openbsd compilation happier with libevent2 installed | Nick Mathewson | |
Fix for bug 16651; patch from "rubiate". | |||
2015-11-25 | Initialize libevent before periodic events | cypherpunks | |
The initialization of libevent interferes with other tests so we also fork the circuit_timeout test. | |||
2015-11-25 | fixup! Block OutboundBindAddressIPv[4|6]_ and configured ports on exit relays | teor (Tim Wilson-Brown) | |
Fix unit tests for get_interface_address6_list to assume less about the interface addresses on the system. Instead, mock get_interface_address6_list and use the mocked function to provide a range of address combinations. | |||
2015-11-25 | Merge branch 'maint-0.2.7' | Nick Mathewson | |
2015-11-25 | Include netinet/in.h (if detected) in check for net/pfvar.h | Nick Mathewson | |
Patch from rubiate; fixes bug 17551. | |||
2015-11-25 | Merge remote-tracking branch 'public/decouple_dir_request_failed' | Nick Mathewson | |
2015-11-25 | Fix a logic error in connection_tls_continue_handshake(). | Nick Mathewson | |
(If we take the branch above this assertion, than we *didn't* have a v1 handshake. So if we don't take the branch, we did. So if we reach this assertion, we must be running as a server, since clients no longer attempt v1 handshakes.) Fix for bug 17654; bugfix on 9d019a7db725dca3dfdbf8d4dbc3b51835e0b49e. Bug not in any released Tor. | |||
2015-11-25 | Merge remote-tracking branch 'teor/comments-20151123' | Nick Mathewson | |
2015-11-25 | Merge remote-tracking branch 'atagar/man_page_fixes' | Nick Mathewson | |
2015-11-25 | Tweak gtank's sha512 patch a little | Nick Mathewson | |
2015-11-25 | Merge remote-tracking branch 'gtank/feature17663' | Nick Mathewson | |
2015-11-25 | Merge remote-tracking branch 'teor/feature8961-replaycache-sha256' | Nick Mathewson | |
2015-11-25 | Merge branch 'maint-0.2.7' | Nick Mathewson | |
2015-11-23 | Fixes for tor's man page | Damian Johnson | |
I'm adding Stem test coverage for tor's man page and in doing so ran into quite a few issues. All of them are pretty minor (worst was misnaming a couple config options), but still good things to fix. :P | |||
2015-11-23 | Drop HidServDirectoryV2 and VoteOnHidServDirectoriesV2 | Damian Johnson | |
These options were removed from tor in July. Time to axe them from our man page. :P https://gitweb.torproject.org/tor.git/commit/?id=2f8cf524ba4e565ab613504a4c41fd724d32facc | |||
2015-11-24 | add changes for feature17663 | George Tankersley | |
2015-11-23 | Split 'slop' man page options to their own lines | Damian Johnson | |
The slop testing options are the only spot where we try to enumerate multiple options on the same line. Changing them to each be on their own line as we do elsewhere. | |||
2015-11-24 | implement teor's comments | George Tankersley | |