Commit Graph
20935 Commits
Author SHA1 Message Date
Nick Mathewson 9d12bdaa1d Merge branch 'maint-0.2.7' into release-0.2.7 2015-12-16 09:24:27 -05:00
Nick Mathewson 33b5bfb948 Don't call pthread_condattr_setclock() unless it exists
Fixes bug 17819; bugfix on 0.2.6.3-alpha (specifically, d684dbb0).
2015-12-16 09:23:44 -05:00
Nick Mathewson 784e9fff9b ... and fix another backtrace_symbols_fd call in sandbox.c 2015-12-16 09:05:49 -05:00
Nick Mathewson e0aa4f837c ... and fix the linux backtrace_symbols{,_fd} calls 2015-12-16 09:05:18 -05:00
cypherpunks 07cca627ea Fix backtrace compilation on FreeBSD
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.
2015-12-15 11:52:00 -05:00
Nick Mathewson 9d49dd60dd Merge branch 'maint-0.2.7' into release-0.2.7 2015-12-14 15:45:36 -05:00
cypherpunks 254d63dabe Use TESTS_ENVIRONMENT for older Automake versions
The AM_TESTS_ENVIRONMENT variable is available since Automake v1.12 but
some distributions have older Automake versions so we use
TESTS_ENVIRONMENT.
2015-12-14 15:45:23 -05:00
Nick Mathewson eaa69a2289 Merge branch 'maint-0.2.7' into release-0.2.7 2015-12-14 13:30:30 -05:00
cypherpunks ff843ed39f Add changes file for 17818 2015-12-14 13:11:20 -05:00
cypherpunks 01a9575ad0 Use variables instead of substitutions
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.
2015-12-14 13:11:20 -05:00
cypherpunks 670affa792 Only setup environment variables for tests
Using the AM_TESTS_ENVIRONMENT variable ensures the environment
variables are only set during test execution and not during the
compilation phase.
2015-12-14 13:11:20 -05:00
Nick Mathewson e03312688e Merge branch 'maint-0.2.7' into release-0.2.7 2015-12-10 14:25:01 -05:00
Nick Mathewson aa40f28962 bump to 0.2.7.6-dev 2015-12-10 14:24:55 -05:00
Nick Mathewson 7a489a6389 Use the correct bug #. For real this time. Thanks again, skruffy tor-0.2.7.6 2015-12-10 11:20:24 -05:00
Nick Mathewson 1979414f0f Use the correct bug #. Thanks, skruffy 2015-12-10 11:08:35 -05:00
Nick Mathewson 31b337d2b7 tweak 0276 changelog; copy it into the releasenotes 2015-12-10 10:44:52 -05:00
Nick Mathewson f01f8e18b8 Merge branch 'maint-0.2.7' into release-0.2.7 2015-12-10 10:05:08 -05:00
Nick Mathewson 7fb19f1ca8 bump maint version to 0.2.7.6 2015-12-10 10:04:59 -05:00
Nick Mathewson 6f3f753c21 Reflow and sort the changelog. 2015-12-10 09:50:52 -05:00
Roger Dingledine 9236e50415 fold in the changes entries 2015-12-10 08:14:58 -05:00
Roger Dingledine b2a53e8ca9 Merge branch 'maint-0.2.7' into release-0.2.7 2015-12-10 04:12:10 -05:00
Nick Mathewson c6a337557a Merge branch 'maint-0.2.6' into maint-0.2.7 2015-12-08 10:23:41 -05:00
Nick Mathewson 1adc2bf66f Merge branch 'maint-0.2.5' into maint-0.2.6 2015-12-08 10:20:21 -05:00
Nick Mathewson c3d11b119d Merge branch 'maint-0.2.4' into maint-0.2.5 2015-12-08 10:20:14 -05:00
Nick Mathewson 35deb4d442 Merge branch 'bug17772_024' into maint-0.2.4 2015-12-08 10:18:31 -05:00
Arlo Breault 5138f5ca69 Ensure node is a guard candidate when picking a directory guard 2015-12-08 09:49:01 -05:00
Nick Mathewson eeb9751ead Merge branch 'maint-0.2.6' into maint-0.2.7 2015-12-08 09:43:42 -05:00
Nick Mathewson b53ff86067 Merge branch 'maint-0.2.5' into maint-0.2.6 2015-12-08 09:43:25 -05:00
Nick Mathewson 4328525770 Merge branch 'maint-0.2.4' into maint-0.2.5 2015-12-08 09:38:48 -05:00
Nick Mathewson b0867fec96 Fix a compilation warning introduced by clang 3.6
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.
2015-12-08 09:37:05 -05:00
Nick Mathewson e9bf584694 Format IPv6 policies correctly.
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.
2015-12-08 08:44:58 -05:00
Nick Mathewson 9c66afe772 Merge branch 'maint-0.2.6' into maint-0.2.7 2015-12-07 10:11:21 -05:00
Nick Mathewson 089ee13534 Merge branch 'maint-0.2.5' into maint-0.2.6 2015-12-07 10:10:44 -05:00
Nick Mathewson e8e89fd7a1 Merge branch 'maint-0.2.4' into maint-0.2.5 2015-12-07 10:10:21 -05:00
Karsten Loesing dbb919cf94 Update geoip and geoip6 to the December 1 2015 database. 2015-12-05 17:02:59 +01:00
cypherpunks e408aa3b24 Add changes file for 17722 2015-11-30 22:02:50 -05:00
cypherpunks be0891667e Fix undefined behavior caused by memory overlap
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-11-30 22:02:22 -05:00
Nick Mathewson 232ccc18c4 Include netinet/in.h (if detected) in check for net/pfvar.h
Patch from rubiate; fixes bug 17551.
2015-11-25 09:27:52 -05:00
David Goulet 273b267fa2 Fix: use the right list in find_expiring_intro_point()
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>
2015-11-23 09:02:54 -05:00
Nick Mathewson e0fa07c06f Merge branch 'maint-0.2.7' into release-0.2.7 2015-11-20 10:27:51 -05:00
Nick Mathewson 18ee193ad1 bump version to 0.2.7-dev 2015-11-20 10:27:35 -05:00
Nick Mathewson b6024ec149 prepare for a release. tor-0.2.7.5 2015-11-20 08:48:08 -05:00
Nick Mathewson 0549c01967 add a dedication paragraph; reflow another. 2015-11-13 08:58:18 -05:00
Nick Mathewson e46ea4a75d Merge branch 'maint-0.2.7' into release-0.2.7 2015-11-13 08:41:42 -05:00
Nick Mathewson 741d2dc685 Bump to 0.2.7.5 2015-11-13 08:41:30 -05:00
Nick Mathewson 4dd7a55cf2 start trying to write a blurb 2015-11-10 09:13:58 -05:00
Nick Mathewson 99d39e937e Re-order and condense some ReleaseNotes items 2015-11-05 09:39:44 -05:00
Nick Mathewson 6292a3fcf4 Remove all bugfix-on-0.2.7.x items from ReleaseNotes 2015-11-05 09:29:27 -05:00
Nick Mathewson 7bce3efb9e Start the ReleaseNotes for 0.2.7.5.
This is just the changelogs for 0.2.7.[1234]-{alpha,rc} passed through
sortChanges.pl.
2015-11-05 09:24:33 -05:00
Nick Mathewson f55d23e1e6 remove a comma that coderman didn't like tor-0.2.7.4-rc 2015-10-21 15:13:31 -04:00