]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Wed, 18 Jul 2018 19:08:57 +0000 (15:08 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Wed, 18 Jul 2018 19:04:14 +0000 (15:04 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.2
Nick Mathewson [Wed, 18 Jul 2018 19:03:27 +0000 (15:03 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.2

7 years agoMerge branch 'bug26485_029_squashed' into maint-0.2.9
Nick Mathewson [Wed, 18 Jul 2018 19:01:03 +0000 (15:01 -0400)] 
Merge branch 'bug26485_029_squashed' into maint-0.2.9

7 years agoAdd a test for format_recommended_version_list.
Nick Mathewson [Tue, 17 Jul 2018 19:39:31 +0000 (15:39 -0400)] 
Add a test for format_recommended_version_list.

7 years agoWarn when an authority has voted for a version with a space in it.
Nick Mathewson [Wed, 11 Jul 2018 15:24:55 +0000 (11:24 -0400)] 
Warn when an authority has voted for a version with a space in it.

Another way to try to prevent a recurrence of 26485.

7 years agoWarn the directory authority operator if their versions list is bogus
Nick Mathewson [Wed, 11 Jul 2018 15:14:48 +0000 (11:14 -0400)] 
Warn the directory authority operator if their versions list is bogus

Prevents bug 26485; bugfix on 0.1.1.6-alpha.

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Tue, 17 Jul 2018 18:56:52 +0000 (14:56 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Tue, 17 Jul 2018 18:56:52 +0000 (14:56 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.2
Nick Mathewson [Tue, 17 Jul 2018 18:56:52 +0000 (14:56 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.2

7 years agoSKIP test_keygen.sh on Windows until the underlying issue is resolved
teor [Tue, 17 Jul 2018 01:24:02 +0000 (11:24 +1000)] 
SKIP test_keygen.sh on Windows until the underlying issue is resolved

Skip an unreliable key generation test on Windows, until the underlying
issue in bug 26076 is resolved.

Fixes bug 26830; bugfix on 0.2.7.3-rc.

7 years agoFix build to work with --disable-unittests again
rl1987 [Mon, 16 Jul 2018 10:49:40 +0000 (10:49 +0000)] 
Fix build to work with --disable-unittests again

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Thu, 12 Jul 2018 18:32:16 +0000 (14:32 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.2
Nick Mathewson [Thu, 12 Jul 2018 18:32:16 +0000 (14:32 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.2

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Thu, 12 Jul 2018 18:32:16 +0000 (14:32 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoput new bridge auth Serge into place
Roger Dingledine [Thu, 12 Jul 2018 18:12:13 +0000 (14:12 -0400)] 
put new bridge auth Serge into place

The "Bifroest" bridge authority has been retired; the new bridge authority
is "Serge", and it is operated by George from the TorBSD project.

Closes ticket 26771.

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Mon, 9 Jul 2018 19:17:48 +0000 (15:17 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

"ours" to avoid version bump.

7 years agoBump to 0.3.4.4-rc-dev
Nick Mathewson [Mon, 9 Jul 2018 19:17:38 +0000 (15:17 -0400)] 
Bump to 0.3.4.4-rc-dev

7 years agoBump to 0.3.3.8-dev.
Nick Mathewson [Mon, 9 Jul 2018 19:17:16 +0000 (15:17 -0400)] 
Bump to 0.3.3.8-dev.

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Mon, 9 Jul 2018 14:17:20 +0000 (10:17 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Mon, 9 Jul 2018 14:17:20 +0000 (10:17 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge remote-tracking branch 'github/bug26269_031' into maint-0.3.2
Nick Mathewson [Mon, 9 Jul 2018 14:17:17 +0000 (10:17 -0400)] 
Merge remote-tracking branch 'github/bug26269_031' into maint-0.3.2

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Mon, 9 Jul 2018 14:15:16 +0000 (10:15 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Mon, 9 Jul 2018 14:14:43 +0000 (10:14 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.2
Nick Mathewson [Mon, 9 Jul 2018 14:14:43 +0000 (10:14 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.2

7 years agoMerge branch 'bug26269_029' into maint-0.2.9
Nick Mathewson [Mon, 9 Jul 2018 14:14:39 +0000 (10:14 -0400)] 
Merge branch 'bug26269_029' into maint-0.2.9

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Mon, 9 Jul 2018 13:24:14 +0000 (09:24 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

"ours" merge to avoid version bump

7 years agoBump to 0.3.3.8
Nick Mathewson [Mon, 9 Jul 2018 13:24:07 +0000 (09:24 -0400)] 
Bump to 0.3.3.8

7 years agoBump to 0.3.3.4-rc
Nick Mathewson [Mon, 9 Jul 2018 13:23:39 +0000 (09:23 -0400)] 
Bump to 0.3.3.4-rc

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Mon, 9 Jul 2018 13:21:46 +0000 (09:21 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

"ours" merge to avoid cherry-picked copy of #25512 fix, which is already in
this branch.

7 years agoClear all control.c flags on control_free_all()
Nick Mathewson [Fri, 23 Mar 2018 15:31:56 +0000 (11:31 -0400)] 
Clear all control.c flags on control_free_all()

Fixes bug 25512.

(Cherry-picked from 3519d0c8086ede

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Mon, 9 Jul 2018 13:14:37 +0000 (09:14 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoMerge remote-tracking branch 'catalyst-github/bug26455_033' into maint-0.3.3
Nick Mathewson [Mon, 9 Jul 2018 13:13:58 +0000 (09:13 -0400)] 
Merge remote-tracking branch 'catalyst-github/bug26455_033' into maint-0.3.3

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.2
Nick Mathewson [Mon, 9 Jul 2018 13:11:41 +0000 (09:11 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.2

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Mon, 9 Jul 2018 13:11:41 +0000 (09:11 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Mon, 9 Jul 2018 13:11:41 +0000 (09:11 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Mon, 9 Jul 2018 13:09:01 +0000 (09:09 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoMerge remote-tracking branch 'mikeperry/bug25705_v3_033' into maint-0.3.3
Nick Mathewson [Mon, 9 Jul 2018 13:08:58 +0000 (09:08 -0400)] 
Merge remote-tracking branch 'mikeperry/bug25705_v3_033' into maint-0.3.3

7 years agoUpdate geoip and geoip6 to the July 3 2018 database.
Karsten Loesing [Fri, 6 Jul 2018 18:54:03 +0000 (20:54 +0200)] 
Update geoip and geoip6 to the July 3 2018 database.

7 years agoMerge remote-tracking branch 'github/bug26568_034' into maint-0.3.4
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

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.2
Nick Mathewson [Tue, 3 Jul 2018 13:48:03 +0000 (09:48 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.2

7 years agoMerge 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.3.2' into maint-0.3.3

7 years agoMerge 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.3' into maint-0.3.4

7 years agoMerge branch 'bug26535_032' 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

7 years agoMerge branch 'bug26535_029' into maint-0.2.9
Nick Mathewson [Tue, 3 Jul 2018 13:47:41 +0000 (09:47 -0400)] 
Merge branch 'bug26535_029' into maint-0.2.9

7 years agoPartially revert "Use tor_addr_from_getsockname() in several places"
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.

7 years agohs_ntor_ref.py: pass only strings to subprocess.Popen
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.

7 years agontor_ref.py: pass only strings to subprocess.Popen
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.

7 years agoMerge remote-tracking branch 'catalyst-github/bug26449_034' into maint-0.3.4
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

7 years agoMerge branch 'mikeperry_bug26214-rebased_squashed' 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

7 years agoMerge branch 'maint-0.3.3' 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

7 years agoMerge remote-tracking branch 'dgoulet/bug26523_033_01' into maint-0.3.3
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

7 years agoMerge remote-tracking branch 'catalyst-github/bug25895_034-squashed' into maint-0.3.4
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

7 years agoMerge 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.1' into maint-0.3.2

7 years agoMerge 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.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Sat, 30 Jun 2018 03:12:03 +0000 (23:12 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.1 maint-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

7 years agoFinally remove our EOL@EOF check.
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)

7 years agoRestor EOL@EOF in routerlist.c
Nick Mathewson [Sat, 30 Jun 2018 03:08:45 +0000 (23:08 -0400)] 
Restor EOL@EOF in routerlist.c

7 years agoMerge 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.1' into maint-0.3.2

7 years agoMerge 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.3.2' into maint-0.3.3

7 years agoMerge 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.2.9' into maint-0.3.1

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Fri, 29 Jun 2018 17:49:43 +0000 (13:49 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoFix a memory error in test_shared_random
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.

7 years agoFix some memory errors in the recent coverity fixes.
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 :/

7 years agoMerge 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.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Fri, 29 Jun 2018 17:07:13 +0000 (13:07 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoMerge remote-tracking branch 'ahf-github/maint-0.3.2' into maint-0.3.2
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

7 years agoMerge 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.2.9' into maint-0.3.1

7 years agoMerge 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.2' into maint-0.3.3

7 years agoMerge 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.3' into maint-0.3.4

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Fri, 29 Jun 2018 17:06:15 +0000 (13:06 -0400)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge remote-tracking branch 'ahf-github/maint-0.3.0' 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

7 years agoMerge remote-tracking branch 'ahf-github/maint-0.3.1' 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

7 years agoChanges file for 26467
Nick Mathewson [Fri, 29 Jun 2018 17:04:29 +0000 (13:04 -0400)] 
Changes file for 26467

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Fri, 29 Jun 2018 17:02:56 +0000 (13:02 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoMerge 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.2' into maint-0.3.3

7 years agoMerge 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.3.1' into maint-0.3.2

7 years agoMerge branch 'maint-0.2.9' into maint-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

7 years agoMerge remote-tracking branch 'ahf-github/maint-0.2.9' into maint-0.2.9
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

7 years agoFix Rust cross compilation.
Alex Xu (Hello71) [Wed, 16 May 2018 23:35:12 +0000 (19:35 -0400)] 
Fix Rust cross compilation.

7 years agocontrol: Make HSPOST properly parse HSADDRESS= param
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>
7 years agoMerge 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.3' into maint-0.3.4

7 years agoMerge 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.2' into maint-0.3.3

7 years agoMerge 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.3.1' into maint-0.3.2

7 years agoMerge branch 'maint-0.2.9' into maint-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

7 years agoMerge branch 'feature26372_029' into maint-0.2.9
Nick Mathewson [Tue, 26 Jun 2018 13:21:55 +0000 (09:21 -0400)] 
Merge branch 'feature26372_029' into maint-0.2.9

7 years agoBump version to 0.3.4.3-alpha-dev
Nick Mathewson [Tue, 26 Jun 2018 13:12:23 +0000 (09:12 -0400)] 
Bump version to 0.3.4.3-alpha-dev

7 years agoBump to 0.3.4.3-alpha.
Nick Mathewson [Mon, 25 Jun 2018 18:07:23 +0000 (14:07 -0400)] 
Bump to 0.3.4.3-alpha.

7 years agoAdd some casts to get test_dir.c compiling on windows.
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.

7 years agoFix test_geoip failures on windows by writing file in binary mode.
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.

7 years agoFix memory leak in test_sr_setup_commits().
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.

7 years agoFix memory leak in disk_state_parse_commits().
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.

7 years agoFix memory leak in frac_nodes_with_descriptors().
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.

7 years agoFix memory leak in helper_add_hsdir_to_networkstatus().
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.

7 years agoFix memory leak in new_establish_intro_cell().
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

7 years agoFix memory leak in test_channelpadding_consensus().
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

7 years agoFix memory link in test_link_specifier().
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.

7 years agoFix memory leak in decode_link_specifiers().
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.

7 years agoFix memory leak in client_likes_consensus().
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