- Nov 06, 2018
-
-
This fixes compilation on OpenBSD. Signed-off-by:
Kris Katterjohn <katterjohn@gmail.com>
-
- Oct 19, 2018
-
-
Nick Mathewson authored
We can't use htons()/ntohs() -- those are no-ops on exactly the wrong platforms.
-
Nick Mathewson authored
Fixes bug 28115; bugfix on 0.3.5.1-alpha.
-
- Oct 14, 2018
-
-
Nick Mathewson authored
Nothing should ever look at them on failure, but in some cases, the unit tests don't check for failure, and then GCC-LTO freaks out. Fixes part of 27772.
-
- Oct 10, 2018
-
-
Nick Mathewson authored
OpenSolaris apparently doesn't have timeradd(), so we added a replacement, but we weren't including it here after the big refactoring in 0.3.5.1-alpha. Fixes bug 27963; bugfix on 0.3.5.1-alpha.
-
Nick Mathewson authored
-
- Sep 27, 2018
-
-
Nick Mathewson authored
-
Nick Mathewson authored
Allowing this didn't do any actual harm, since there aren't any shared structures or leakable objects here. Still, it's bad style and might cause trouble in the future. Closes ticket 27856.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- Sep 24, 2018
-
-
Nick Mathewson authored
Bug 27781; bugfix on 0.3.5.1-alpha.
-
- Sep 20, 2018
-
-
Nick Mathewson authored
-
Nick Mathewson authored
Fixes bug 27782; bugfix on 0.3.5.1-alpha
-
Nick Mathewson authored
Related to #27795 -- since NSS will close the socket, we must not count it as owned by Tor.
-
Nick Mathewson authored
-
- Sep 18, 2018
-
-
Nick Mathewson authored
The trunnel functions are written under the assumption that their allocators can fail, so GCC LTO thinks they might return NULL. In point of fact, they're using tor_malloc() and friends, which can't fail, but GCC won't necessarily figure that out. Fixes part of #27772.
-
Nick Mathewson authored
Instead, have it call a mockable function. We don't want crypto_strongest_rand() to be mockable, since doing so creates a type error when we call it from ed25519-donna, which we do not build in a test mode. Fixes bug 27728; bugfix on 0.3.5.1-alpha
-
George Kadianakis authored
-
- Sep 17, 2018
-
-
Nick Mathewson authored
This shouldn't be a user-visible change: nobody has a 16 MB RSA key that they're trying to use with Tor. I'm doing this to fix CID 1439330 / ticket 27730, where coverity complains (on 64-bit) that we are making a comparison that is never true.
-
- Sep 16, 2018
-
-
Nick Mathewson authored
Closes ticket 27288
-
- Sep 14, 2018
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
This is harder than with OpenSSL, since OpenSSL counts the bytes on its own and NSS doesn't. To fix this, we need to define a new PRFileDesc layer that has its own byte-counting support. Closes ticket 27289.
-
- Sep 13, 2018
-
-
Nick Mathewson authored
-
Nick Mathewson authored
Bug not in any released Tor.
-
Nick Mathewson authored
Without this, RunAsDaemon breaks NSS. Fixes bug 27664; bug not in any released Tor.
-
- Sep 12, 2018
-
-
Nick Mathewson authored
This function tells the underlying TLS object that it shouldn't close the fd on exit. Mostly, we hope not to have to use it, since the NSS implementation is kludgey, but it should allow us to fix
-
- Sep 09, 2018
-
-
Nick Mathewson authored
This is an attempt to work around what I think may be a bug in OSS-Fuzz, which thinks that uninitialized data might be passed to the curve25519 functions.
-
- Sep 07, 2018
-
-
Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
teor authored
Closes 27521.
-
- Sep 06, 2018
-
-
Nick Mathewson authored
This reverts commit b5fddbd2. The commit here was supposed to be a solution for #27451 (fd management with NSS), but instead it caused an assertion failure. Fixes bug 27500; but not in any released Tor.
-
teor authored
The code that used it was removed as part of the 26481 refactor. Closes ticket 27467.
-
- Sep 05, 2018
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
On new glibc versions, there's an explicit_bzero(). With openssl, there's openssl_memwipe(). When no other approach works, use memwipe() and a memory barrier.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-