- Dec 16, 2015
-
-
Nick Mathewson authored
-
- Dec 15, 2015
-
-
On FreeBSD backtrace(3) uses size_t instead of int (as glibc does). This causes integer precision loss errors when we used int to store its results. The issue is fixed by using size_t to store the results of backtrace(3). The manual page of glibc does not mention that backtrace(3) returns negative values. Therefore, no unsigned integer wrapping occurs when its result is stored in an unsigned data type.
-
- Dec 14, 2015
-
-
The AM_TESTS_ENVIRONMENT variable is available since Automake v1.12 but some distributions have older Automake versions so we use TESTS_ENVIRONMENT.
-
-
Using variables removes the ambiguity about when to use variables and when to use substitutions. Variables always work. Substitutions only work when Autoconf knows about them which is not always the case. The variables are also placed between quotes to ensures spaces in the variables are handled properly.
-
Using the AM_TESTS_ENVIRONMENT variable ensures the environment variables are only set during test execution and not during the compilation phase.
-
- Dec 10, 2015
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- Dec 08, 2015
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
There was a dead check when we made sure that an array member of a struct was non-NULL. Tor has been doing this check since at least 0.2.3, maybe earlier. Fixes bug 17781.
-
Nick Mathewson authored
Previously we'd suppressed the mask-bits field in the output when formatting a policy if it was >=32. But that should be a >=128 if we're talking about IPv6. Since we didn't put these in descriptors, this bug affects only log messages and controller outputs. Fix for bug 16056. The code in question was new in 0.2.0, but the bug was introduced in 0.2.4 when we started supporting IPv6 exits.
-
- Dec 07, 2015
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- Dec 05, 2015
-
-
Karsten Loesing authored
-
- Dec 01, 2015
-
-
-
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.
-
- Nov 25, 2015
-
-
Nick Mathewson authored
Patch from rubiate; fixes bug 17551.
-
- Nov 23, 2015
-
-
David Goulet authored
The wrong list was used when looking up expired intro points in a rend service object causing what we think could be reachability issues and triggering a BUG log. Fixes #16702 Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
- Nov 20, 2015
-
-
Nick Mathewson authored
-
- Nov 13, 2015
-
-
Nick Mathewson authored
-
- Oct 21, 2015
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
Without this check, we potentially look up to 3 characters before the start of a malloc'd segment, which could provoke a crash under certain (weird afaik) circumstances. Fixes 17404; bugfix on 0.2.6.3-alpha.
-
Nick Mathewson authored
Closes 17403.
-
Nick Mathewson authored
-
Nick Mathewson authored
Bug 17402.
-
Nick Mathewson authored
The 0.2.8 unit tests provoke this leak, though I don't think it can happen IRL.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- Oct 19, 2015
-
-
Nick Mathewson authored
-