]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Tue, 3 Jul 2018 17:16:37 +0000 (13:16 -0400)]
Merge remote-tracking branch 'github/bug26568_034' into maint-0.3.4
Nick Mathewson [Tue, 3 Jul 2018 13:48:03 +0000 (09:48 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Tue, 3 Jul 2018 13:48:03 +0000 (09:48 -0400)]
Merge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Tue, 3 Jul 2018 13:48:03 +0000 (09:48 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.2
Nick Mathewson [Tue, 3 Jul 2018 13:48:00 +0000 (09:48 -0400)]
Merge branch 'bug26535_032' into maint-0.3.2
Nick Mathewson [Tue, 3 Jul 2018 13:47:41 +0000 (09:47 -0400)]
Merge branch 'bug26535_029' into maint-0.2.9
Nick Mathewson [Mon, 2 Jul 2018 20:11:02 +0000 (16:11 -0400)]
Partially revert "Use tor_addr_from_getsockname() in several places"
This reverts part of commit
6ed384b827dce21ea3a44b587 , in order to
fix bug 26568. Bugfix on 0.3.4.1-alpha.
Nick Mathewson [Mon, 2 Jul 2018 18:04:46 +0000 (14:04 -0400)]
hs_ntor_ref.py: pass only strings to subprocess.Popen
Recent Python3 versions seem to require this on Windows.
Fixes bug 26535; bug copied from ntor_ref.py on 0.3.1.1-alpha.
Nick Mathewson [Mon, 2 Jul 2018 18:04:46 +0000 (14:04 -0400)]
ntor_ref.py: pass only strings to subprocess.Popen
Recent Python3 versions seem to require this on Windows.
Fixes bug 26535; bug introduced in
f4be34f70d6f277a0f3f73e , which
was apparently intended itself as a Python3 workaround.
Nick Mathewson [Mon, 2 Jul 2018 17:38:40 +0000 (13:38 -0400)]
Merge remote-tracking branch 'catalyst-github/bug26449_034' into maint-0.3.4
Nick Mathewson [Mon, 2 Jul 2018 17:22:07 +0000 (13:22 -0400)]
Merge branch 'mikeperry_bug26214-rebased_squashed' into maint-0.3.4
Nick Mathewson [Sun, 1 Jul 2018 14:22:21 +0000 (10:22 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Sun, 1 Jul 2018 14:22:18 +0000 (10:22 -0400)]
Merge remote-tracking branch 'dgoulet/bug26523_033_01' into maint-0.3.3
Nick Mathewson [Sat, 30 Jun 2018 13:15:34 +0000 (09:15 -0400)]
Merge remote-tracking branch 'catalyst-github/bug25895_034-squashed' into maint-0.3.4
Nick Mathewson [Sat, 30 Jun 2018 03:12:03 +0000 (23:12 -0400)]
Merge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Sat, 30 Jun 2018 03:12:03 +0000 (23:12 -0400)]
Merge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Sat, 30 Jun 2018 03:12:03 +0000 (23:12 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
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 [Sat, 30 Jun 2018 03:08:45 +0000 (23:08 -0400)]
Restor EOL@EOF in routerlist.c
Nick Mathewson [Fri, 29 Jun 2018 17:49:43 +0000 (13:49 -0400)]
Merge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Fri, 29 Jun 2018 17:49:43 +0000 (13:49 -0400)]
Merge branch 'maint-0.3.2' into maint-0.3.3
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:43 +0000 (13:49 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
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:07:13 +0000 (13:07 -0400)]
Merge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Fri, 29 Jun 2018 17:07:13 +0000 (13:07 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Fri, 29 Jun 2018 17:07:07 +0000 (13:07 -0400)]
Merge remote-tracking branch 'ahf-github/maint-0.3.2' into maint-0.3.2
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:15 +0000 (13:06 -0400)]
Merge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Fri, 29 Jun 2018 17:06:15 +0000 (13:06 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Fri, 29 Jun 2018 17:06:15 +0000 (13:06 -0400)]
Merge branch 'maint-0.3.1' into maint-0.3.2
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:02:56 +0000 (13:02 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Fri, 29 Jun 2018 17:00:56 +0000 (13:00 -0400)]
Merge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Fri, 29 Jun 2018 17:00:56 +0000 (13:00 -0400)]
Merge branch 'maint-0.3.1' into maint-0.3.2
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
Alex Xu (Hello71) [Wed, 16 May 2018 23:35:12 +0000 (19:35 -0400)]
Fix Rust cross compilation.
David Goulet [Wed, 27 Jun 2018 16:20:39 +0000 (12:20 -0400)]
control: Make HSPOST properly parse HSADDRESS= param
For HSv3, the HSADDRESS= wasn't properly parsed for the HSPOST command. It now
correctly use it and furthermore sends back a "200 OK" in case the command is
successful for a v3 descriptor.
Fixes #26523
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Tue, 26 Jun 2018 13:21:59 +0000 (09:21 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Tue, 26 Jun 2018 13:21:59 +0000 (09:21 -0400)]
Merge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Tue, 26 Jun 2018 13:21:59 +0000 (09:21 -0400)]
Merge branch 'maint-0.3.1' into maint-0.3.2
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
Nick Mathewson [Tue, 26 Jun 2018 13:12:23 +0000 (09:12 -0400)]
Bump version to 0.3.4.3-alpha-dev
Nick Mathewson [Mon, 25 Jun 2018 18:07:23 +0000 (14:07 -0400)]
Bump to 0.3.4.3-alpha.
Nick Mathewson [Fri, 22 Jun 2018 22:22:20 +0000 (18:22 -0400)]
Add some casts to get test_dir.c compiling on windows.
Fixed bug 26479. Bug introduced by
0a6f4627a4292e4 ; bug not in any
released version.
Nick Mathewson [Fri, 22 Jun 2018 18:47:48 +0000 (14:47 -0400)]
Fix test_geoip failures on windows by writing file in binary mode.
Fixes bug 26480; bug appeared when we re-enabled the geoip tests on
windows. Bug originally introduced by our fix to 25787; bug not in
any released Tor.
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 11:05:41 +0000 (13:05 +0200)]
Fix memory leak in helper_add_hsdir_to_networkstatus().
This patch fixes a memory leak in helper_add_hsdir_to_networkstatus()
where the rs object might not get properly freed.
See: Coverity CID
1437427 .
Alexander Færøy [Sat, 23 Jun 2018 08:48:42 +0000 (10:48 +0200)]
Fix memory leak in new_establish_intro_cell().
This patch fixes a memory leak in new_establish_intro_cell() that could
happen if a test assertion fails and the *cell_out value isn't properly
free'd.
See: Coverity CID
1437445
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:40:32 +0000 (03:40 +0200)]
Fix memory leak in pick_hsdir_v3().
This patch fixes a memory leak in pick_hsdir_v3() where we might return
early, but forgot to free the responsible_hsdirs variable. We solve this
by not allocating storage for responsible_hsdirs until it's actually
needed.
See: Coverity CID
1437449
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
Taylor Yu [Fri, 22 Jun 2018 01:40:59 +0000 (20:40 -0500)]
Add Travis jobs for non-hardened Rust
Right now we're having trouble getting Rust builds to succeed if
fragile hardening is enabled. Add new mandatory jobs to make sure at
least some Rust testing happens in Travis.
Fixes bug 26449; bug not in any released tor.
Nick Mathewson [Thu, 21 Jun 2018 13:28:50 +0000 (09:28 -0400)]
Prefer recent Python 3 in autoconf.
Closes ticket 26372.
Mike Perry [Tue, 19 Jun 2018 19:53:58 +0000 (19:53 +0000)]
Bug 26214: Test updates.
Mike Perry [Sun, 27 May 2018 01:43:19 +0000 (01:43 +0000)]
Bug 26214: Changes file.
Mike Perry [Sun, 27 May 2018 01:42:35 +0000 (01:42 +0000)]
Bug 26214: Check stream SENDME against max.
Nick Mathewson [Thu, 21 Jun 2018 13:01:00 +0000 (09:01 -0400)]
Hang on; this branch is supposed to be 0.3.4.2-alpha-dev.
Nick Mathewson [Thu, 21 Jun 2018 12:56:27 +0000 (08:56 -0400)]
Merge branch 'bug25787_squashed' into maint-0.3.4
Nick Mathewson [Mon, 11 Jun 2018 21:49:38 +0000 (17:49 -0400)]
Revise geoip tests to not require paths of actual geoip config
When I wrote the first one of these, it needed the path of the geoip
file. But that doesn't translate well in at least two cases:
- Mingw, where the compile-time path is /c/foo/bar and the
run-time path is c:\foo\bar.
- Various CI weirdnesses, where we cross-compile a test binary,
then copy it into limbo and expect it to work.
Together, these problems precluded these tests running on windows.
So, instead let's just generate some minimal files ourselves, and
test against them.
Fixes bug 25787
Nick Mathewson [Thu, 21 Jun 2018 12:54:02 +0000 (08:54 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Thu, 21 Jun 2018 12:53:37 +0000 (08:53 -0400)]
Fix changes file for memory leak.
Nick Mathewson [Thu, 21 Jun 2018 12:38:17 +0000 (08:38 -0400)]
Merge branch 'additional_rust_test_fixes' into maint-0.3.4
Nick Mathewson [Thu, 21 Jun 2018 12:36:48 +0000 (08:36 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Thu, 21 Jun 2018 00:00:56 +0000 (20:00 -0400)]
Merge remote-tracking branch 'catalyst-github/allow_fail_rust' into maint-0.3.4
Roger Dingledine [Wed, 20 Jun 2018 23:43:58 +0000 (19:43 -0400)]
fix memory leak in protover.c
Fix a memory leak where directory authorities would leak a chunk of
memory for every router descriptor every time they considered voting.
This bug was taking down directory authorities in the live network due
to out-of-memory issues.
Fixes bug 26435; bugfix on 0.3.3.6.
Nick Mathewson [Wed, 20 Jun 2018 23:32:01 +0000 (19:32 -0400)]
add build.rs to EXTRA_DIST
Nick Mathewson [Wed, 20 Jun 2018 23:16:25 +0000 (19:16 -0400)]
Allow spaces in CCLD in linker.sh
Hello71 spotted this first.
Nick Mathewson [Wed, 20 Jun 2018 23:05:11 +0000 (19:05 -0400)]
eol@eof is still the law in 0.3.4 :(
Nick Mathewson [Wed, 20 Jun 2018 22:02:49 +0000 (18:02 -0400)]
Add a leak suppression for backtrace_alloc
This appears to be an internal rust thing: I don't know why it's
leaking. We should investigate further.
Nick Mathewson [Wed, 20 Jun 2018 21:53:51 +0000 (17:53 -0400)]
Merge branch 'maint-0.3.4' into additional_rust_test_fixes
Nick Mathewson [Wed, 20 Jun 2018 21:53:09 +0000 (17:53 -0400)]
Use different RUST_LINKER_OPTIONS for sanitizers
These appear to work for me.
Nick Mathewson [Wed, 20 Jun 2018 21:49:06 +0000 (17:49 -0400)]
Fix clang warnings introduced by
9f2b887c5d251b93ee9def708
Nick Mathewson [Wed, 20 Jun 2018 21:28:28 +0000 (17:28 -0400)]
Fix memory leak in CryptoDigest type
If you're owning a C pointer, you need to implement Drop.
Nick Mathewson [Wed, 20 Jun 2018 21:16:44 +0000 (17:16 -0400)]
Disable doctests in src/rust/crypto module.
These all need C linking to work, and so far, rustdoc does not seem
to respect cargo setting about build scripts or RUSTOPTIONS.
Nick Mathewson [Wed, 20 Jun 2018 21:08:00 +0000 (17:08 -0400)]
Fix bugs in rust digest tests
Nick Mathewson [Wed, 20 Jun 2018 21:07:47 +0000 (17:07 -0400)]
Merge branch 'rust_build_script_v3' into additional_rust_test_fixes
Isis Lovecruft [Mon, 18 Jun 2018 18:37:07 +0000 (18:37 +0000)]
rust: Remove --all-features flag from `cargo test` call in test_rust.sh.
We'd like to feature gate code that calls C from Rust, as a workaround
to several linker issues when running `cargo test` (#25386), and we
can't feature gate anything out of test code if `cargo test` is called
with `--all-features`.
* FIXES #26400: https://bugs.torproject.org/26400
Taylor Yu [Wed, 20 Jun 2018 20:10:18 +0000 (15:10 -0500)]
Allow Rust to fail for now
Multiple issues are preventing Travis CI from passing with Rust right
now.
Nick Mathewson [Wed, 20 Jun 2018 12:29:38 +0000 (08:29 -0400)]
eol@eof in test-dir.c
Nick Mathewson [Wed, 20 Jun 2018 12:02:27 +0000 (08:02 -0400)]
Merge branch 'asn_bug24977_final_squashed' into maint-0.3.4
George Kadianakis [Wed, 13 Jun 2018 10:47:36 +0000 (13:47 +0300)]
Add changes file for #24977.
George Kadianakis [Wed, 13 Jun 2018 10:28:39 +0000 (13:28 +0300)]
Recreate nodelist before use if it's outdated.
We currently only do the check when we are about to use the HSDir indices.
George Kadianakis [Tue, 12 Jun 2018 11:29:06 +0000 (14:29 +0300)]
Recreate voting schedule before use if it's outdated.
Isis Lovecruft [Mon, 18 Jun 2018 18:33:49 +0000 (18:33 +0000)]
rust: Remove redundant "testing" feature from tor_log crate.
It was synonymous with the builtin "test" feature.
* FIXES #26399: https://bugs.torproject.org/26399
Nick Mathewson [Wed, 20 Jun 2018 11:50:00 +0000 (07:50 -0400)]
Merge branch 'rl1987_bug26196_rebased_034' into maint-0.3.4
rl1987 [Sun, 3 Jun 2018 11:56:28 +0000 (14:56 +0300)]
Add changes file