]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
8 years agoMerge branch 'maint-0.2.7-redux' into maint-0.2.8
Nick Mathewson [Thu, 8 Jun 2017 13:21:15 +0000 (09:21 -0400)] 
Merge branch 'maint-0.2.7-redux' into maint-0.2.8

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Thu, 8 Jun 2017 13:21:15 +0000 (09:21 -0400)] 
Merge branch 'maint-0.2.6' into maint-0.2.7-redux

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Thu, 8 Jun 2017 13:21:15 +0000 (09:21 -0400)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Thu, 8 Jun 2017 13:21:15 +0000 (09:21 -0400)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

8 years agoTROVE-2017-005: Fix assertion failure in connection_edge_process_relay_cell
David Goulet [Mon, 5 Jun 2017 15:11:42 +0000 (11:11 -0400)] 
TROVE-2017-005: Fix assertion failure in connection_edge_process_relay_cell

On an hidden service rendezvous circuit, a BEGIN_DIR could be sent
(maliciously) which would trigger a tor_assert() because
connection_edge_process_relay_cell() thought that the circuit is an
or_circuit_t but is an origin circuit in reality.

Fixes #22494

Reported-by: Roger Dingledine <arma@torproject.org>
Signed-off-by: David Goulet <dgoulet@torproject.org>
8 years agoMerge branch 'maint-0.2.7-redux' into maint-0.2.8
Nick Mathewson [Mon, 5 Jun 2017 18:48:30 +0000 (14:48 -0400)] 
Merge branch 'maint-0.2.7-redux' into maint-0.2.8

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Mon, 5 Jun 2017 18:48:30 +0000 (14:48 -0400)] 
Merge branch 'maint-0.2.6' into maint-0.2.7-redux

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 5 Jun 2017 18:39:06 +0000 (14:39 -0400)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

Ours merge to avoid taking 4ee48cb434c46d9e4c477dabd8a97f03e3db221d

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Mon, 5 Jun 2017 18:38:54 +0000 (14:38 -0400)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

8 years agoFix C89 warning (since Tor 0.2.4-5 still care about that.)
Nick Mathewson [Mon, 5 Jun 2017 18:38:38 +0000 (14:38 -0400)] 
Fix C89 warning (since Tor 0.2.4-5 still care about that.)

8 years agoMerge branch 'maint-0.2.7-redux' into maint-0.2.8
Nick Mathewson [Mon, 5 Jun 2017 16:01:17 +0000 (12:01 -0400)] 
Merge branch 'maint-0.2.7-redux' into maint-0.2.8

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Mon, 5 Jun 2017 16:00:41 +0000 (12:00 -0400)] 
Merge branch 'maint-0.2.6' into maint-0.2.7-redux

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 5 Jun 2017 16:00:27 +0000 (12:00 -0400)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Mon, 5 Jun 2017 16:00:08 +0000 (12:00 -0400)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

8 years agoFix undefined behavior in geoip_parse_entry().
Nick Mathewson [Mon, 5 Jun 2017 14:09:39 +0000 (10:09 -0400)] 
Fix undefined behavior in geoip_parse_entry().

Fixes bug 22490; bugfix on 6a241ff3ffe7dc1 in 0.2.4.6-alpha.

Found by teor using clang-5.0's AddressSanitizer stack-use-after-scope.

8 years agoUpdate fallback directory mirrors in May 2017
teor [Tue, 16 May 2017 09:02:42 +0000 (19:02 +1000)] 
Update fallback directory mirrors in May 2017

Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
December 2016 (of which ~126 were still functional), with a list of
151 fallbacks (32 new, 119 existing, 58 removed) generated in May 2017.

Resolves ticket 21564.

8 years agoMerge branch 'maint-0.2.7-redux' into maint-0.2.8
Nick Mathewson [Mon, 8 May 2017 12:07:19 +0000 (08:07 -0400)] 
Merge branch 'maint-0.2.7-redux' into maint-0.2.8

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Mon, 8 May 2017 12:07:11 +0000 (08:07 -0400)] 
Merge branch 'maint-0.2.6' into maint-0.2.7-redux

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 8 May 2017 12:07:04 +0000 (08:07 -0400)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Mon, 8 May 2017 12:06:59 +0000 (08:06 -0400)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

8 years agoUpdate geoip and geoip6 to the May 2 2017 database.
Karsten Loesing [Mon, 8 May 2017 08:09:42 +0000 (10:09 +0200)] 
Update geoip and geoip6 to the May 2 2017 database.

8 years agoMerge branch 'maint-0.2.7-redux' into maint-0.2.8
Nick Mathewson [Thu, 6 Apr 2017 12:31:32 +0000 (08:31 -0400)] 
Merge branch 'maint-0.2.7-redux' into maint-0.2.8

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Thu, 6 Apr 2017 12:31:23 +0000 (08:31 -0400)] 
Merge branch 'maint-0.2.6' into maint-0.2.7-redux

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Thu, 6 Apr 2017 12:31:18 +0000 (08:31 -0400)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Thu, 6 Apr 2017 12:31:12 +0000 (08:31 -0400)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

8 years agoUpdate geoip and geoip6 to the April 4 2017 database.
Karsten Loesing [Thu, 6 Apr 2017 08:52:39 +0000 (10:52 +0200)] 
Update geoip and geoip6 to the April 4 2017 database.

8 years agoMerge branch 'maint-0.2.7-redux' into maint-0.2.8
Nick Mathewson [Wed, 8 Mar 2017 15:11:23 +0000 (10:11 -0500)] 
Merge branch 'maint-0.2.7-redux' into maint-0.2.8

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Wed, 8 Mar 2017 15:11:05 +0000 (10:11 -0500)] 
Merge branch 'maint-0.2.6' into maint-0.2.7-redux

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 8 Mar 2017 15:10:44 +0000 (10:10 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Wed, 8 Mar 2017 15:10:29 +0000 (10:10 -0500)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

8 years agoUpdate geoip and geoip6 to the March 7 2017 database.
Karsten Loesing [Wed, 8 Mar 2017 08:41:35 +0000 (09:41 +0100)] 
Update geoip and geoip6 to the March 7 2017 database.

8 years agoMerge branch 'maint-0.2.7-redux' into maint-0.2.8
Nick Mathewson [Tue, 28 Feb 2017 15:37:25 +0000 (10:37 -0500)] 
Merge branch 'maint-0.2.7-redux' into maint-0.2.8

This is an "ours" merge to avoid taking a version bump, and to
avoid replaying the post-0.2.7.6 history of "maint-0.2.7-redux" onto maint-0.2.8, which already included the relevant changes.

8 years agobump version to 0.2.8.13
Nick Mathewson [Tue, 28 Feb 2017 15:34:33 +0000 (10:34 -0500)] 
bump version to 0.2.8.13

8 years agoBump version to 0.2.7.7
Nick Mathewson [Tue, 28 Feb 2017 15:27:20 +0000 (10:27 -0500)] 
Bump version to 0.2.7.7

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Tue, 28 Feb 2017 15:26:45 +0000 (10:26 -0500)] 
Merge branch 'maint-0.2.6' into maint-0.2.7-redux

"ours" merge to avoid version bumps

8 years agobump to 0.2.6.11
Nick Mathewson [Tue, 28 Feb 2017 15:26:24 +0000 (10:26 -0500)] 
bump to 0.2.6.11

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 28 Feb 2017 15:25:51 +0000 (10:25 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

"ours" merge to avoid version bumps

8 years agoBump version to 0.2.5.13
Nick Mathewson [Tue, 28 Feb 2017 15:23:20 +0000 (10:23 -0500)] 
Bump version to 0.2.5.13

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 28 Feb 2017 15:22:36 +0000 (10:22 -0500)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

"ours" merge to avoid bumping version

8 years agoBump to 0.2.4.28
Nick Mathewson [Tue, 28 Feb 2017 15:20:46 +0000 (10:20 -0500)] 
Bump to 0.2.4.28

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Fri, 17 Feb 2017 22:10:47 +0000 (17:10 -0500)] 
Merge branch 'maint-0.2.6' into maint-0.2.7-redux

8 years agoMerge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Wed, 15 Feb 2017 12:52:47 +0000 (07:52 -0500)] 
Merge branch 'maint-0.2.7' into maint-0.2.8

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7 maint-0.2.7
Nick Mathewson [Wed, 15 Feb 2017 12:52:41 +0000 (07:52 -0500)] 
Merge branch 'maint-0.2.6' into maint-0.2.7

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 15 Feb 2017 12:52:33 +0000 (07:52 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

8 years agoMerge branch 'maint-0.2.8' of git-rw.torproject.org:/tor into maint-0.2.8
Nick Mathewson [Wed, 15 Feb 2017 12:51:57 +0000 (07:51 -0500)] 
Merge branch 'maint-0.2.8' of git-rw.torproject.org:/tor into maint-0.2.8

8 years agoMerge branch 'maint-0.2.7' of git-rw.torproject.org:/tor into maint-0.2.7
Nick Mathewson [Wed, 15 Feb 2017 12:51:48 +0000 (07:51 -0500)] 
Merge branch 'maint-0.2.7' of git-rw.torproject.org:/tor into maint-0.2.7

8 years agoMerge branch 'maint-0.2.6' of git-rw.torproject.org:/tor into maint-0.2.6
Nick Mathewson [Wed, 15 Feb 2017 12:51:41 +0000 (07:51 -0500)] 
Merge branch 'maint-0.2.6' of git-rw.torproject.org:/tor into maint-0.2.6

8 years agoMerge branch 'maint-0.2.5' of git-rw.torproject.org:/tor into maint-0.2.5
Nick Mathewson [Wed, 15 Feb 2017 12:51:33 +0000 (07:51 -0500)] 
Merge branch 'maint-0.2.5' of git-rw.torproject.org:/tor into maint-0.2.5

8 years agoMerge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Wed, 15 Feb 2017 12:47:28 +0000 (07:47 -0500)] 
Merge branch 'maint-0.2.7' into maint-0.2.8

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Wed, 15 Feb 2017 12:47:21 +0000 (07:47 -0500)] 
Merge branch 'maint-0.2.6' into maint-0.2.7

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 15 Feb 2017 12:47:12 +0000 (07:47 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Wed, 15 Feb 2017 12:47:04 +0000 (07:47 -0500)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

8 years agoAvoid integer underflow in tor_version_compare.
Nick Mathewson [Tue, 7 Feb 2017 15:58:02 +0000 (10:58 -0500)] 
Avoid integer underflow in tor_version_compare.

Fix for TROVE-2017-001 and bug 21278.

(Note: Instead of handling signed ints "correctly", we keep the old
behavior, except for the part where we would crash with -ftrapv.)

8 years agoMerge branch 'maint-0.2.7' into maint-0.2.8
Roger Dingledine [Mon, 13 Feb 2017 20:39:13 +0000 (15:39 -0500)] 
Merge branch 'maint-0.2.7' into maint-0.2.8

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7
Roger Dingledine [Mon, 13 Feb 2017 20:28:50 +0000 (15:28 -0500)] 
Merge branch 'maint-0.2.6' into maint-0.2.7

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Roger Dingledine [Mon, 13 Feb 2017 20:27:57 +0000 (15:27 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Roger Dingledine [Mon, 13 Feb 2017 20:23:50 +0000 (15:23 -0500)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

8 years agobe sure to remember the changes file for #20384
Roger Dingledine [Mon, 13 Feb 2017 20:22:36 +0000 (15:22 -0500)] 
be sure to remember the changes file for #20384

8 years agoMerge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Mon, 13 Feb 2017 19:37:55 +0000 (14:37 -0500)] 
Merge branch 'maint-0.2.7' into maint-0.2.8

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Mon, 13 Feb 2017 19:37:49 +0000 (14:37 -0500)] 
Merge branch 'maint-0.2.6' into maint-0.2.7

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 13 Feb 2017 19:37:42 +0000 (14:37 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Mon, 13 Feb 2017 19:37:01 +0000 (14:37 -0500)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

8 years agoUpdate geoip and geoip6 to the February 8 2017 database.
Karsten Loesing [Sun, 12 Feb 2017 14:56:31 +0000 (15:56 +0100)] 
Update geoip and geoip6 to the February 8 2017 database.

8 years agoMerge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Tue, 7 Feb 2017 15:39:13 +0000 (10:39 -0500)] 
Merge branch 'maint-0.2.7' into maint-0.2.8

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Tue, 7 Feb 2017 15:39:03 +0000 (10:39 -0500)] 
Merge branch 'maint-0.2.6' into maint-0.2.7

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Tue, 7 Feb 2017 15:38:05 +0000 (10:38 -0500)] 
Merge branch 'maint-0.2.6' into maint-0.2.7-redux

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 7 Feb 2017 15:37:53 +0000 (10:37 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

8 years agoMerge remote-tracking branch 'public/bug18710_025' into maint-0.2.5
Nick Mathewson [Tue, 7 Feb 2017 15:37:43 +0000 (10:37 -0500)] 
Merge remote-tracking branch 'public/bug18710_025' into maint-0.2.5

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 7 Feb 2017 15:37:31 +0000 (10:37 -0500)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

8 years agoRevert "Revert "Add hidserv-stats filname to our sandbox filter""
Nick Mathewson [Tue, 7 Feb 2017 15:13:20 +0000 (10:13 -0500)] 
Revert "Revert "Add hidserv-stats filname to our sandbox filter""

This reverts commit 5446cb8d3d536e9bc737de6d9286bd4b4b185661.

The underlying revert was done in 0.2.6, since we aren't backporting
seccomp2 loosening fixes to 0.2.6.  But the fix (for 17354) already
went out in 0.2.7.4-rc, so we shouldn't revert it in 0.2.7.

8 years agoBump the version to 0.2.7.6-dev again
Nick Mathewson [Tue, 7 Feb 2017 14:59:54 +0000 (09:59 -0500)] 
Bump the version to 0.2.7.6-dev again

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Tue, 7 Feb 2017 14:57:08 +0000 (09:57 -0500)] 
Merge branch 'maint-0.2.6' into maint-0.2.7-redux

maint-0.2.7-redux is an attempt to try to re-create a plausible
maint-0.2.7 branch.  I've started from the tor-0.2.7.6, and then I
merged maint-0.2.6 into the branch.

This has produced 2 conflicts: one related to the
rendcommon->rendcache move, and one to the authority refactoring.

8 years agoDisable a log_backtrace (which 0.2.4 does not have) in 16248 fix
Nick Mathewson [Tue, 7 Feb 2017 14:49:23 +0000 (09:49 -0500)] 
Disable a log_backtrace (which 0.2.4 does not have) in 16248 fix

8 years agoAdd comments to connection_check_event().
Nick Mathewson [Mon, 14 Mar 2016 16:53:21 +0000 (12:53 -0400)] 
Add comments to connection_check_event().

8 years agoChange behavior on missing/present event to warn instead of asserting.
Nick Mathewson [Fri, 11 Mar 2016 15:50:36 +0000 (10:50 -0500)] 
Change behavior on missing/present event to warn instead of asserting.

Add a changes file.

8 years agoIf we start/stop reading on a dnsserv connection, don't assert.
Nick Mathewson [Fri, 11 Mar 2016 15:33:19 +0000 (10:33 -0500)] 
If we start/stop reading on a dnsserv connection, don't assert.

Fixes bug 16248. Patch from cypherpunks.  Bugfix on 0.2.0.1-alpha.

8 years agoMerge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Tue, 7 Feb 2017 14:30:10 +0000 (09:30 -0500)] 
Merge branch 'maint-0.2.7' into maint-0.2.8

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Tue, 7 Feb 2017 14:29:27 +0000 (09:29 -0500)] 
Merge branch 'maint-0.2.6' into maint-0.2.7

"ours" merge to avoid reverting 17354, which was already fixed in
0.2.7.4-rc.

8 years agoRevert "Add hidserv-stats filname to our sandbox filter"
Nick Mathewson [Tue, 7 Feb 2017 14:28:50 +0000 (09:28 -0500)] 
Revert "Add hidserv-stats filname to our sandbox filter"

Reverting this in 0.2.6 only -- we're no backporting
seccomp2-loosening fixes to 0.2.6.

This reverts commit 2ec5e24c58a08816ed2f09c8bd6301599bc2f2f7.

8 years agoMerge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Tue, 7 Feb 2017 14:20:45 +0000 (09:20 -0500)] 
Merge branch 'maint-0.2.7' into maint-0.2.8

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Tue, 7 Feb 2017 14:20:13 +0000 (09:20 -0500)] 
Merge branch 'maint-0.2.6' into maint-0.2.7

This is an "ours" merge to avoid conflicts on the authority list:
the 0.2.7 branch already has the tonga->bifroest merge.

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 7 Feb 2017 14:18:54 +0000 (09:18 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 7 Feb 2017 14:17:59 +0000 (09:17 -0500)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

8 years agoBackport the tonga->bifroest move to 0.2.4.
Nick Mathewson [Tue, 7 Feb 2017 14:15:21 +0000 (09:15 -0500)] 
Backport the tonga->bifroest move to 0.2.4.

This is a backport of 19728 and 19690

8 years agoMerge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Tue, 7 Feb 2017 13:55:28 +0000 (08:55 -0500)] 
Merge branch 'maint-0.2.7' into maint-0.2.8

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Tue, 7 Feb 2017 13:55:07 +0000 (08:55 -0500)] 
Merge branch 'maint-0.2.6' into maint-0.2.7

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 7 Feb 2017 13:54:54 +0000 (08:54 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 7 Feb 2017 13:54:47 +0000 (08:54 -0500)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

8 years agoMerge remote-tracking branch 'public/bug19152_024_v2' into maint-0.2.4
Nick Mathewson [Tue, 7 Feb 2017 13:47:11 +0000 (08:47 -0500)] 
Merge remote-tracking branch 'public/bug19152_024_v2' into maint-0.2.4

8 years agoMerge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Tue, 7 Feb 2017 13:39:33 +0000 (08:39 -0500)] 
Merge branch 'maint-0.2.7' into maint-0.2.8

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Tue, 7 Feb 2017 13:39:25 +0000 (08:39 -0500)] 
Merge branch 'maint-0.2.6' into maint-0.2.7

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 7 Feb 2017 13:39:07 +0000 (08:39 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 7 Feb 2017 13:38:59 +0000 (08:38 -0500)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

8 years agoMerge remote-tracking branch 'public/bug17404_024' into maint-0.2.4
Nick Mathewson [Tue, 7 Feb 2017 13:37:07 +0000 (08:37 -0500)] 
Merge remote-tracking branch 'public/bug17404_024' into maint-0.2.4

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 7 Feb 2017 13:34:37 +0000 (08:34 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 7 Feb 2017 13:34:08 +0000 (08:34 -0500)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

8 years agoRefine the memwipe() arguments check for 18089 a little more.
Nick Mathewson [Tue, 19 Jan 2016 13:28:58 +0000 (08:28 -0500)] 
Refine the memwipe() arguments check for 18089 a little more.

We still silently ignore
     memwipe(NULL, ch, 0);
and
     memwipe(ptr, ch, 0);  /* for ptr != NULL */

But we now assert on:
     memwipe(NULL, ch, 30);

8 years agoMake memwipe() do nothing when passed a NULL pointer or zero size
teor (Tim Wilson-Brown) [Tue, 19 Jan 2016 00:22:58 +0000 (11:22 +1100)] 
Make memwipe() do nothing when passed a NULL pointer or zero size

Check size argument to memwipe() for underflow.

Closes bug #18089. Reported by "gk", patch by "teor".
Bugfix on 0.2.3.25 and 0.2.4.6-alpha (#7352),
commit 49dd5ef3 on 7 Nov 2012.

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 7 Feb 2017 13:32:10 +0000 (08:32 -0500)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

8 years agoFix out-of-bounds read in INTRODUCE2 client auth
John Brooks [Sun, 26 Apr 2015 04:52:35 +0000 (22:52 -0600)] 
Fix out-of-bounds read in INTRODUCE2 client auth

The length of auth_data from an INTRODUCE2 cell is checked when the
auth_type is recognized (1 or 2), but not for any other non-zero
auth_type. Later, auth_data is assumed to have at least
REND_DESC_COOKIE_LEN bytes, leading to a client-triggered out of bounds
read.

Fixed by checking auth_len before comparing the descriptor cookie
against known clients.

Fixes #15823; bugfix on 0.2.1.6-alpha.