]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Sat, 30 Jun 2018 03:12:03 +0000 (23:12 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Sat, 30 Jun 2018 03:11:47 +0000 (23:11 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Mon, 18 Jun 2018 20:10:47 +0000 (16:10 -0400)]
Finally remove our EOL@EOF check.
This check was added by mistake long ago. It will be nice to see
these EOLs disappear from our code over time.
(backport from master)
Nick Mathewson [Fri, 29 Jun 2018 17:49:43 +0000 (13:49 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Fri, 29 Jun 2018 17:49:43 +0000 (13:49 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Fri, 29 Jun 2018 17:49:02 +0000 (13:49 -0400)]
Fix a memory error in test_shared_random
Bug not in any released Tor.
Nick Mathewson [Fri, 29 Jun 2018 17:48:36 +0000 (13:48 -0400)]
Fix some memory errors in the recent coverity fixes.
Found by asan on travis :/
Nick Mathewson [Fri, 29 Jun 2018 17:06:15 +0000 (13:06 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Fri, 29 Jun 2018 17:06:15 +0000 (13:06 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Fri, 29 Jun 2018 17:06:11 +0000 (13:06 -0400)]
Merge remote-tracking branch 'ahf-github/maint-0.3.0' into maint-0.3.1
Nick Mathewson [Fri, 29 Jun 2018 17:06:08 +0000 (13:06 -0400)]
Merge remote-tracking branch 'ahf-github/maint-0.3.1' into maint-0.3.1
Nick Mathewson [Fri, 29 Jun 2018 17:04:29 +0000 (13:04 -0400)]
Changes file for 26467
Nick Mathewson [Fri, 29 Jun 2018 17:00:56 +0000 (13:00 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Fri, 29 Jun 2018 17:00:56 +0000 (13:00 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Fri, 29 Jun 2018 17:00:52 +0000 (13:00 -0400)]
Merge remote-tracking branch 'ahf-github/maint-0.2.9' into maint-0.2.9
Nick Mathewson [Tue, 26 Jun 2018 13:21:59 +0000 (09:21 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Tue, 26 Jun 2018 13:21:59 +0000 (09:21 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Tue, 26 Jun 2018 13:21:55 +0000 (09:21 -0400)]
Merge branch 'feature26372_029' into maint-0.2.9
Alexander Færøy [Sat, 23 Jun 2018 09:31:59 +0000 (11:31 +0200)]
Fix memory leak in test_sr_setup_commits().
This patch fixes a memory leak in test_sr_setup_commits() where the
place_holder is allocated, but never freed again.
See: Coverity CID
1437440 .
Alexander Færøy [Sat, 23 Jun 2018 09:28:00 +0000 (11:28 +0200)]
Fix memory leak in disk_state_parse_commits().
This patch fixes a memory leak in disk_state_parse_commits() where if
commit is NULL, we continue the internal loop, but without ever freeing
the args variable.
See: Coverity CID
1437441 .
Alexander Færøy [Sat, 23 Jun 2018 01:24:10 +0000 (03:24 +0200)]
Fix memory leak in frac_nodes_with_descriptors().
This patch fixes a memory leak in frac_nodes_with_descriptors() where
we might return without free'ing the bandwidths variable.
See: Coverity CID
1437451 .
Alexander Færøy [Sat, 23 Jun 2018 10:52:04 +0000 (12:52 +0200)]
Fix memory leak in test_channelpadding_consensus().
The relay variable is always allocated, but might not be freed before we
return from this function.
See: Coverity CID
1437431
Alexander Færøy [Sat, 23 Jun 2018 10:39:20 +0000 (12:39 +0200)]
Fix memory link in test_link_specifier().
This patch fixes a memory leak in test_link_specifier() where ls might
not get freed in case one of the test macros fails.
See: Coverity CID
1437434 .
Alexander Færøy [Sat, 23 Jun 2018 09:54:36 +0000 (11:54 +0200)]
Fix memory leak in decode_link_specifiers().
This patch fixes a memory leak in decode_link_specifiers() where the
hs_spec variable might leak if the default label is taken in the
switch/case expression.
See: Coverity CID
1437437 .
Alexander Færøy [Sat, 23 Jun 2018 08:33:40 +0000 (10:33 +0200)]
Fix memory leak in client_likes_consensus().
This patches fixes a memory leak in client_likes_consensus() where if
consensus_cache_entry_get_voter_id_digests() would fail we would return
without having free'd the voters list.
See: Coverity CID
1437447
Alexander Færøy [Sat, 23 Jun 2018 08:27:10 +0000 (10:27 +0200)]
Fix potential memory leak in hs_helper_build_hs_desc_impl().
This patch fixes a memory leak in hs_helper_build_hs_desc_impl() where
if a test assertion would fail we would leak the storage that `desc`
points to.
See: Coverity CID
1437448
Alexander Færøy [Sat, 23 Jun 2018 01:17:09 +0000 (03:17 +0200)]
Fix potential memory leak in test_hs_auth_cookies().
This patch fixes a potential memory leak in test_hs_auth_cookies() if a
test-case fails and we goto the done label where no memory clean up is
done.
See: Coverity CID
1437453
Alexander Færøy [Fri, 22 Jun 2018 22:44:33 +0000 (00:44 +0200)]
Fix potential memory leak in hs_helper_build_intro_point().
This patch fixes a potential memory leak in
hs_helper_build_intro_point() where a `goto done` is called before the
`intro_point` variable have been assigned to the value of the `ip`
variable.
See: Coverity CID
1437460
See: Coverity CID
1437456
Nick Mathewson [Thu, 21 Jun 2018 13:28:50 +0000 (09:28 -0400)]
Prefer recent Python 3 in autoconf.
Closes ticket 26372.
Nick Mathewson [Sun, 17 Jun 2018 23:24:48 +0000 (19:24 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Sun, 17 Jun 2018 23:24:48 +0000 (19:24 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.1
juga0 [Sun, 3 Jun 2018 10:44:02 +0000 (10:44 +0000)]
Add .editorconfig to follow coding standards style
Nick Mathewson [Wed, 13 Jun 2018 13:59:28 +0000 (09:59 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Wed, 13 Jun 2018 13:59:26 +0000 (09:59 -0400)]
Fix an extra space in a changes file
Nick Mathewson [Wed, 13 Jun 2018 13:58:04 +0000 (09:58 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Wed, 13 Jun 2018 13:58:01 +0000 (09:58 -0400)]
Merge branch 'bug26158_031' into maint-0.3.1
Nick Mathewson [Tue, 12 Jun 2018 13:44:17 +0000 (09:44 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Tue, 12 Jun 2018 13:44:17 +0000 (09:44 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Tue, 12 Jun 2018 13:44:13 +0000 (09:44 -0400)]
Merge branch 'dannenberg_ipv6_029' into maint-0.2.9
Linus Nordberg [Sun, 10 Jun 2018 11:09:38 +0000 (13:09 +0200)]
Add a changelog entry.
Linus Nordberg [Sun, 10 Jun 2018 09:07:00 +0000 (11:07 +0200)]
Add IPv6 orport address for dannenberg.
Nick Mathewson [Tue, 12 Jun 2018 12:18:56 +0000 (08:18 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Tue, 12 Jun 2018 12:18:53 +0000 (08:18 -0400)]
Merge remote-tracking branch 'teor/bug26272-031' into maint-0.3.1
Nick Mathewson [Tue, 12 Jun 2018 12:11:20 +0000 (08:11 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Tue, 12 Jun 2018 12:11:19 +0000 (08:11 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.1
Karsten Loesing [Mon, 11 Jun 2018 19:58:55 +0000 (21:58 +0200)]
Update geoip and geoip6 to the June 7 2018 database.
Nick Mathewson [Fri, 8 Jun 2018 14:11:57 +0000 (10:11 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Fri, 8 Jun 2018 14:11:57 +0000 (10:11 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.1
rl1987 [Mon, 4 Jun 2018 09:27:10 +0000 (12:27 +0300)]
Avoid out-of-bounds smartlist access in protover_compute_vote()
and contract_protocol_list()
teor [Sat, 2 Jun 2018 21:08:01 +0000 (14:08 -0700)]
Silence unused-const-variable warnings in zstd.h on some gcc versions
Fixes bug 26272; bugfix on 0.3.1.1-alpha.
Nick Mathewson [Thu, 24 May 2018 13:40:06 +0000 (09:40 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Thu, 24 May 2018 13:40:06 +0000 (09:40 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Thu, 24 May 2018 13:39:46 +0000 (09:39 -0400)]
Merge branch 'bug26116_029' into maint-0.2.9
Nick Mathewson [Thu, 24 May 2018 13:36:33 +0000 (09:36 -0400)]
Add a unit test for PEM-encrypted documents.
Nick Mathewson [Tue, 22 May 2018 12:54:17 +0000 (08:54 -0400)]
Add a missing "return -1" when checking for
Ed25519 ID loops
Fixes bug 26158; bugfix on 0.3.0.1-alpha.
Nick Mathewson [Wed, 16 May 2018 16:11:45 +0000 (12:11 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Wed, 16 May 2018 16:11:45 +0000 (12:11 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Wed, 16 May 2018 16:11:40 +0000 (12:11 -0400)]
Merge branch 'bug26072_029' into maint-0.2.9
Nick Mathewson [Wed, 16 May 2018 15:39:42 +0000 (11:39 -0400)]
Return -1 from our PEM password callback
Apparently, contrary to its documentation, this is how OpenSSL now
wants us to report an error.
Fixes bug 26116; bugfix on 0.2.5.16.
Nick Mathewson [Tue, 15 May 2018 13:32:44 +0000 (09:32 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Tue, 15 May 2018 13:32:44 +0000 (09:32 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.1
Karsten Loesing [Tue, 15 May 2018 13:16:47 +0000 (15:16 +0200)]
Update geoip and geoip6 to the May 1 2018 database.
Nick Mathewson [Mon, 14 May 2018 19:54:48 +0000 (15:54 -0400)]
Add a missing return after marking a stream for bad connected cell
Fixes bug 26072; bugfix on 0.2.4.7-alpha.
Nick Mathewson [Thu, 10 May 2018 13:22:32 +0000 (09:22 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Thu, 10 May 2018 13:22:14 +0000 (09:22 -0400)]
Merge remote-tracking branch 'dgoulet/bug26069_031_01' into maint-0.3.1
Nick Mathewson [Thu, 10 May 2018 13:19:28 +0000 (09:19 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Thu, 10 May 2018 13:19:28 +0000 (09:19 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Thu, 10 May 2018 13:19:09 +0000 (09:19 -0400)]
Merge remote-tracking branch 'juga/ticket26007_029_02' into maint-0.2.9
David Goulet [Thu, 10 May 2018 13:16:50 +0000 (09:16 -0400)]
hs-v3: Add an extra white-space when parsing descriptor
The specification describes the signature token to be right after a newline
(\n) then the token "signature" and then a white-space followed by the encoded
signature.
This commit makes sure that when we parse the signature from the descriptor,
we are always looking for that extra white-space at the end of the token.
It will allow us also to support future fields that might start with
"signature".
Fixes #26069
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Thu, 10 May 2018 12:00:35 +0000 (08:00 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Thu, 10 May 2018 12:00:35 +0000 (08:00 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.1
David Goulet [Wed, 9 May 2018 16:40:06 +0000 (12:40 -0400)]
Having a ControlPort open doesn't mean we are a client
The any_client_port_set() returns true if the ControlPort is set which is
wrong because we can have that port open but still not behave as a tor client
(like many relays for instance).
Fixes #26062
Signed-off-by: David Goulet <dgoulet@torproject.org>
juga0 [Tue, 8 May 2018 16:23:37 +0000 (16:23 +0000)]
Test read bandwidth measurements with empty file
teor [Wed, 2 May 2018 12:33:21 +0000 (22:33 +1000)]
Stop logging stack contents when reading a zero-length bandwidth file
When directory authorities read a zero-byte bandwidth file, they log
a warning with the contents of an uninitialised buffer. Log a warning
about the empty file instead.
Fixes bug 26007; bugfix on 0.2.2.1-alpha.
Nick Mathewson [Thu, 3 May 2018 17:38:54 +0000 (13:38 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Thu, 3 May 2018 17:38:54 +0000 (13:38 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Thu, 3 May 2018 17:38:46 +0000 (13:38 -0400)]
Merge remote-tracking branch 'catalyst-github/bug25936-031' into maint-0.3.1
Nick Mathewson [Thu, 3 May 2018 17:38:37 +0000 (13:38 -0400)]
Merge remote-tracking branch 'catalyst-github/bug25936-029' into maint-0.2.9
Nick Mathewson [Wed, 2 May 2018 12:46:28 +0000 (08:46 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Wed, 2 May 2018 12:46:28 +0000 (08:46 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.1
teor [Wed, 2 May 2018 12:33:21 +0000 (22:33 +1000)]
Stop logging stack contents when reading a zero-length bandwidth file
When directory authorities read a zero-byte bandwidth file, they log
a warning with the contents of an uninitialised buffer. Log a warning
about the empty file instead.
Fixes bug 26007; bugfix on 0.2.2.1-alpha.
Taylor Yu [Thu, 26 Apr 2018 20:46:57 +0000 (15:46 -0500)]
Merge branch 'bug25936-029' into bug25936-031
Taylor Yu [Thu, 26 Apr 2018 19:22:52 +0000 (14:22 -0500)]
Show test-suite.log for distcheck on Travis CI
When Travis CI runs make distcheck, test-suite.log doesn't exist in
the expected place. Add a new make target to show this file and use
it when DISTCHECK=yes in .travis.yml. Fixes bug 25814; bug not in any
released Tor.
Nick Mathewson [Wed, 25 Apr 2018 12:01:53 +0000 (08:01 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Wed, 25 Apr 2018 12:00:55 +0000 (08:00 -0400)]
Fix a copy-paste error in the fix for #23693.
Found by coverity; CID 25912; bug not in any released Tor.
Nick Mathewson [Tue, 24 Apr 2018 14:38:37 +0000 (10:38 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Tue, 24 Apr 2018 14:38:37 +0000 (10:38 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Tue, 24 Apr 2018 14:38:19 +0000 (10:38 -0400)]
Merge branch 'travis_distcheck_029' into maint-0.2.9
Nick Mathewson [Tue, 24 Apr 2018 12:49:24 +0000 (08:49 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Tue, 24 Apr 2018 12:49:20 +0000 (08:49 -0400)]
Merge remote-tracking branch 'public/bug23693_031_redux' into maint-0.3.1
Nick Mathewson [Mon, 23 Apr 2018 13:23:31 +0000 (09:23 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Mon, 23 Apr 2018 13:23:31 +0000 (09:23 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Mon, 23 Apr 2018 13:23:25 +0000 (09:23 -0400)]
Merge branch 'bug24969_029_v2' into maint-0.2.9
Nick Mathewson [Wed, 18 Apr 2018 14:25:42 +0000 (10:25 -0400)]
Permit the nanosleep system call in the seccomp2 callbox
Fixes bug 24969; bugfix on 0.2.5.1-alpha when the sandbox was introduced.
Nick Mathewson [Sun, 22 Apr 2018 21:12:18 +0000 (17:12 -0400)]
Allow cpuworkers to exist without onion keys
Now that we allow cpuworkers for dirport-only hosts (to fix 23693),
we need to allow dup_onion_keys() to succeed for them.
The change to construct_ntor_key_map() is for correctness,
but is not strictly necessary.
Nick Mathewson [Wed, 18 Apr 2018 18:24:54 +0000 (14:24 -0400)]
Add distcheck support to travis configuration.
Implements 25814.
Nick Mathewson [Tue, 17 Apr 2018 14:48:17 +0000 (10:48 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1
Nick Mathewson [Tue, 17 Apr 2018 14:47:30 +0000 (10:47 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Mon, 16 Apr 2018 18:42:28 +0000 (14:42 -0400)]
Add support for the coveralls.io coverage tool in travis config
Closes ticket 25818.
Nick Mathewson [Mon, 16 Apr 2018 17:48:23 +0000 (13:48 -0400)]
Merge branch 'maint-0.3.1' into release-0.3.1