- Oct 25, 2019
-
-
Nick Mathewson authored
I'm about to mess with their lists of callbacks, and I don't want to proliferate lists where we say "NULL, NULL, NULL, ..."
-
- Oct 22, 2019
-
-
Our minimum version is now 0.2.9.5-alpha. Series 0.3.0, 0.3.1, 0.3.2, 0.3.3, and 0.3.4 are now rejected. Also, extract this version-checking code into a new function, so we can test it. Closes ticket 31549. Also reject 0.3.5.0 through 0.3.5.6-rc as unstable.
-
teor authored
-
Nick Mathewson authored
We can't do this with the "options" argument yet, since several places in the code change those right now.
-
Nick Mathewson authored
These arguments were only used by options_validate, and are now ignored even there.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
Coccinelle doesn't understand the particular pattern of token pasting we have going on here.
-
Nick Mathewson authored
-
- Oct 21, 2019
-
-
Nick Mathewson authored
-
teor authored
Use BUG() for coding errors, and `< 0` for error checks. Fix to 31684.
-
teor authored
Part of 31684.
-
- Allows control port to read microdesc consensus using: GETINFO dir/status-vote/microdesc/consensus add: Helper function `getinfo_helper_current_consensus` test: check if GETINFO commands return expected consensus data. Resolves 31684.
-
- Oct 20, 2019
- Oct 17, 2019
-
-
Alexander Hansen Færøy authored
This patch removes an overly strict tor_assert() and an ignorable BUG() expression. Both of these would trigger if a PT was unable to configure itself during startup. The easy way to trigger this is to configure an obfs4 bridge where you make the obfs4 process try to bind on a port number under 1024. See: https://bugs.torproject.org/31091
-
Nick Mathewson authored
-
- Oct 16, 2019
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
In case of error, a negative value will be returned or NULL written into first supplied argument. This patch uses both cases to comply with style in the specific files. A tor_vasprintf error in process_vprintf would lead to a NULL dereference later on in buf_add, because the return value -1 casted to size_t would pass an assertion check inside of buf_add. On the other hand, common systems will fail on such an operation, so it is not a huge difference to a simple assertion. Yet it is better to properly fail instead of relying on such behaviour on all systems. Signed-off-by:
Tobias Stoeckmann <tobias@stoeckmann.org>
-
Nick Mathewson authored
-
Nick Mathewson authored
These need to start with /**, not /*.
-
Nick Mathewson authored
-
Nick Mathewson authored
These are yet more that were not made with "/**"
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
Previously some of the comments here used /*.
-
Nick Mathewson authored
Including a file in the middle of a declaration seems to confuse Doxygen, and Coccinelle doesn't much like it either.l
-
Nick Mathewson authored
-
Nick Mathewson authored
In 8 places, our \file declarations didn't match the actual files they were in.
-
- Oct 15, 2019
-
-
David Goulet authored
Found by coverity CID 1454769. There were a second possible leak that is also fixed in this commit. Fixes #32063 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- Oct 11, 2019
-
-
Nick Mathewson authored
-
Found by Coverity. Fixes #31682 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-