[tor-commits] [tor/master] Add a missing include to timers, to make windows happier

2018-06-29 Thread nickm
commit 9d5b815dcabc7344f4e0613246d061064f6d1bd1 Author: Nick Mathewson Date: Fri Jun 29 12:59:43 2018 -0400 Add a missing include to timers, to make windows happier --- src/common/timers.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/common/timers.c b/src/common/timers.c

[tor-commits] [tor/master] Remove compat.c and util.c

2018-06-29 Thread nickm
commit e269044ce0434489d2e8e9d65953c7519f4ffd64 Author: Nick Mathewson Date: Fri Jun 29 10:51:15 2018 -0400 Remove compat.c and util.c --- src/common/compat.c | 108 src/common/include.am | 2 - src/common/util.c | 112

[tor-commits] [tor/master] Move bool_eq and bool_neq to lib/intmath

2018-06-29 Thread nickm
commit 77bc65bbc495095d4d2679631e06a498ea1e2529 Author: Nick Mathewson Date: Fri Jun 29 10:21:50 2018 -0400 Move bool_eq and bool_neq to lib/intmath --- src/common/util.h | 7 +-- src/lib/intmath/include.am | 1 + src/lib/intmath/logic.h| 14 ++ 3 files

[tor-commits] [tor/master] Remove util.h and compat.h includes from src/common

2018-06-29 Thread nickm
commit 4212a135e1c092a16fc1c4d783495e44d48bbaf9 Author: Nick Mathewson Date: Fri Jun 29 11:35:49 2018 -0400 Remove util.h and compat.h includes from src/common --- src/common/address_set.c | 2 -- src/common/compat.h | 11 --- src/common/compat_libevent.c | 7

[tor-commits] [tor/master] Extract getpass to a new lib/term library

2018-06-29 Thread nickm
commit 4e11c2ca6c9396bf8462acb13e01e3d27e4752cc Author: Nick Mathewson Date: Fri Jun 29 10:50:05 2018 -0400 Extract getpass to a new lib/term library (Term is short for terminal) --- .gitignore| 2 + Makefile.am | 2 + src/common/compat.c |

[tor-commits] [tor/master] Remove windows libraries from util.h and compat.h

2018-06-29 Thread nickm
commit 71e56c70e9dd6aa47ad8c8fb7568a7c27144d95e Author: Nick Mathewson Date: Fri Jun 29 11:07:16 2018 -0400 Remove windows libraries from util.h and compat.h --- src/common/compat.h | 5 - src/common/procmon.c | 7 +-- src/common/util.h| 5 - src/or/ntmain.c | 3 ++-

[tor-commits] [tor/master] Move SUBTYPE_P into compat_compiler.h

2018-06-29 Thread nickm
commit 207fc4cffe21b58b7f0447706a903e5f66b8bcd8 Author: Nick Mathewson Date: Fri Jun 29 10:23:52 2018 -0400 Move SUBTYPE_P into compat_compiler.h --- src/common/util.h| 12 src/lib/cc/compat_compiler.h | 12 2 files changed, 12 insertions(+), 12

[tor-commits] [tor/master] Remove an errant (and unused) include permission in lib/tls

2018-06-29 Thread nickm
commit b21108f83948c9316245b104aab8b99e8ffe656d Author: Nick Mathewson Date: Fri Jun 29 10:52:08 2018 -0400 Remove an errant (and unused) include permission in lib/tls --- src/lib/tls/.may_include | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/tls/.may_include

[tor-commits] [tor/master] Eliminate compat.h

2018-06-29 Thread nickm
commit 6ac64e16ed6958d1a5960c560254217478b7ad87 Author: Nick Mathewson Date: Fri Jun 29 11:42:52 2018 -0400 Eliminate compat.h --- src/common/include.am | 1 - src/or/config.c| 1 - src/or/directory.c | 1 - src/or/keypin.c| 1 -

[tor-commits] [tor/master] Stop using util.h and compat.h in src/trunnel/

2018-06-29 Thread nickm
commit 077176a34c54929580a0178ce6667ae180c352d1 Author: Nick Mathewson Date: Fri Jun 29 11:42:34 2018 -0400 Stop using util.h and compat.h in src/trunnel/ --- src/trunnel/trunnel-local.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/trunnel/trunnel-local.h

[tor-commits] [tor/master] Remove non-windows system includes from compat.h and util.h

2018-06-29 Thread nickm
commit 714788b19549ad2a1d8c064bc74678605b0aa78e Author: Nick Mathewson Date: Fri Jun 29 11:13:15 2018 -0400 Remove non-windows system includes from compat.h and util.h --- src/common/compat.h| 42 -- src/common/util.h | 10 --

[tor-commits] [tor/master] Remove read_all and write_all

2018-06-29 Thread nickm
commit 40199b180e53aa36477c75782be51bd689189287 Author: Nick Mathewson Date: Fri Jun 29 10:16:57 2018 -0400 Remove read_all and write_all These had become wrappers around their fd and socket variants; there were only a few users of the original functions still remaining. ---

[tor-commits] [tor/master] Combine compat.h into util.h

2018-06-29 Thread nickm
commit 35e1c497aa54a22818552c9f3757067e381bb6bb Author: Nick Mathewson Date: Fri Jun 29 11:15:42 2018 -0400 Combine compat.h into util.h This is now just a collection of frequently-used headers. --- src/common/compat.h | 20 +--- src/common/util.h | 43

[tor-commits] [tor/master] Move tor_get_avail_disk_space() to lib/fs

2018-06-29 Thread nickm
commit 973afcc40b52d71bfb1a1285806977fee9b843f6 Author: Nick Mathewson Date: Fri Jun 29 09:34:37 2018 -0400 Move tor_get_avail_disk_space() to lib/fs --- src/common/compat.c| 40 src/lib/fs/freespace.c | 56

[tor-commits] [tor/master] Stop using util.h and compat.h in src/tools

2018-06-29 Thread nickm
commit 666e3e5ec681971b8cbf49294426208d9e83f3bd Author: Nick Mathewson Date: Fri Jun 29 11:41:38 2018 -0400 Stop using util.h and compat.h in src/tools --- src/tools/tor-gencert.c | 17 + src/tools/tor-resolve.c | 11 --- 2 files changed, 17 insertions(+), 11

[tor-commits] [tor/master] Extract get_uname to lib/osinfo.

2018-06-29 Thread nickm
commit e0957022bd108696a941bdb284420fc55cbcf187 Author: Nick Mathewson Date: Fri Jun 29 10:37:35 2018 -0400 Extract get_uname to lib/osinfo. --- .gitignore | 2 + Makefile.am | 2 + src/common/compat.c | 93

[tor-commits] [tor/master] Extract socks5_status_t

2018-06-29 Thread nickm
commit 31897a256c129c12c5a406e630d0d4aaeb7728fd Author: Nick Mathewson Date: Fri Jun 29 10:59:23 2018 -0400 Extract socks5_status_t I'm not sure of the best place to put this header long-term, since both or/*.c and tools/tor-resolve.c use it. --- src/common/compat.h|

[tor-commits] [tor/master] Move SIO_IDEAL_SEND_BACKLOG_QUERY into socket.h

2018-06-29 Thread nickm
commit 080069c7b37d398447fe63bb3941d4412587978c Author: Nick Mathewson Date: Fri Jun 29 10:55:38 2018 -0400 Move SIO_IDEAL_SEND_BACKLOG_QUERY into socket.h --- src/common/compat.h | 3 --- src/lib/net/socket.h | 4 2 files changed, 4 insertions(+), 3 deletions(-) diff --git

[tor-commits] [tor/master] Move fd and memory-info functions.

2018-06-29 Thread nickm
commit 0362cdc169a785a386d3c60d354cd34fafde5770 Author: Nick Mathewson Date: Fri Jun 29 09:44:39 2018 -0400 Move fd and memory-info functions. --- .gitignore | 2 + Makefile.am | 2 + src/common/compat.c | 246

[tor-commits] [tor/master] Merge branch 'maint-0.2.9' into maint-0.3.1

2018-06-29 Thread nickm
commit ea14d3408df7c846722b54484cf5b8d61de5384f Merge: b89a66e99 890bc15ab Author: Nick Mathewson Date: Fri Jun 29 13:06:15 2018 -0400 Merge branch 'maint-0.2.9' into maint-0.3.1 changes/ticket26467 | 3 +++ 1 file changed, 3 insertions(+)

[tor-commits] [tor/master] Merge branch 'maint-0.3.3' into maint-0.3.4

2018-06-29 Thread nickm
commit f6b30a97a96837e012b296a43cc99018d96bcf13 Merge: 5ab23e03f f82f8179e Author: Nick Mathewson Date: Fri Jun 29 13:06:15 2018 -0400 Merge branch 'maint-0.3.3' into maint-0.3.4 changes/ticket26467| 3 +++ src/or/directory.c | 1 + src/or/hs_descriptor.c

[tor-commits] [tor/release-0.2.9] Fix memory leak in test_sr_setup_commits().

2018-06-29 Thread nickm
commit 8ec6b36dca928057c571af39fd3a9ed599ad5181 Author: Alexander Færøy Date: Sat Jun 23 11:31:59 2018 +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.

[tor-commits] [tor/master] Changes file for 26467

2018-06-29 Thread nickm
commit 890bc15ab641f1c22a39b9a86de656a4e3a2d225 Author: Nick Mathewson Date: Fri Jun 29 13:04:29 2018 -0400 Changes file for 26467 --- changes/ticket26467 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/changes/ticket26467 b/changes/ticket26467 new file mode 100644 index

[tor-commits] [tor/release-0.2.9] Fix memory leak in disk_state_parse_commits().

2018-06-29 Thread nickm
commit 3395de51a01aa5519c52404ed2bb9c8cda3571c9 Author: Alexander Færøy Date: Sat Jun 23 11:28:00 2018 +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,

[tor-commits] [tor/master] Merge branch 'maint-0.3.1' into maint-0.3.2

2018-06-29 Thread nickm
commit fe2588a5a8560c8cb03345b3caaaf906655c34a1 Merge: 25226fb26 1385a5118 Author: Nick Mathewson Date: Fri Jun 29 13:00:56 2018 -0400 Merge branch 'maint-0.3.1' into maint-0.3.2 src/or/routerlist.c | 2 ++ src/or/shared_random_state.c | 1 + src/test/test_hs.c| 7

[tor-commits] [tor/master] Merge branch 'maint-0.3.1' into maint-0.3.2

2018-06-29 Thread nickm
commit 68dfbd5ef433b830059baa08d48589518db05d22 Merge: fe2588a5a ea14d3408 Author: Nick Mathewson Date: Fri Jun 29 13:06:15 2018 -0400 Merge branch 'maint-0.3.1' into maint-0.3.2 changes/ticket26467| 3 +++ src/or/directory.c | 1 + src/or/hs_descriptor.c

[tor-commits] [tor/release-0.2.9] Fix potential memory leak in test_hs_auth_cookies().

2018-06-29 Thread nickm
commit 1724f995c71502977c79343922ab50fc2403284f Author: Alexander Færøy Date: Sat Jun 23 03:17:09 2018 +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

[tor-commits] [tor/master] Merge branch 'maint-0.3.2' into maint-0.3.3

2018-06-29 Thread nickm
commit f82f8179e65c5e0021da46fd24e4bd7d8126d8f7 Merge: df896ed63 68dfbd5ef Author: Nick Mathewson Date: Fri Jun 29 13:06:15 2018 -0400 Merge branch 'maint-0.3.2' into maint-0.3.3 changes/ticket26467| 3 +++ src/or/directory.c | 1 + src/or/hs_descriptor.c

[tor-commits] [tor/master] Merge remote-tracking branch 'ahf-github/maint-0.2.9' into maint-0.2.9

2018-06-29 Thread nickm
commit b426e83f077d57e14fc77ebae18a3637bb2c752a Merge: fcd26af7c 8ec6b36dc Author: Nick Mathewson Date: Fri Jun 29 13:00:52 2018 -0400 Merge remote-tracking branch 'ahf-github/maint-0.2.9' into maint-0.2.9 src/or/routerlist.c | 2 ++ src/or/shared_random_state.c | 1 +

[tor-commits] [tor/master] Fix memory link in test_link_specifier().

2018-06-29 Thread nickm
commit c997d49ad6e6a360323311444eed1dbee785aea4 Author: Alexander Færøy Date: Sat Jun 23 12:39:20 2018 +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.

[tor-commits] [tor/release-0.2.9] Fix memory leak in frac_nodes_with_descriptors().

2018-06-29 Thread nickm
commit dcbfee246f35970f65d08a4555e25b956b9aba9c Author: Alexander Færøy Date: Sat Jun 23 03:24:10 2018 +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

[tor-commits] [tor/master] Merge branch 'maint-0.2.9' into maint-0.3.1

2018-06-29 Thread nickm
commit 1385a5118d55edd3dd672eeb793b662853f30758 Merge: d6d3f8486 b426e83f0 Author: Nick Mathewson Date: Fri Jun 29 13:00:56 2018 -0400 Merge branch 'maint-0.2.9' into maint-0.3.1 src/or/routerlist.c | 2 ++ src/or/shared_random_state.c | 1 + src/test/test_hs.c| 7

[tor-commits] [tor/master] Fix memory leak in client_likes_consensus().

2018-06-29 Thread nickm
commit d86c45bf5cc75a526b884a754d72ef4d11aa0693 Author: Alexander Færøy Date: Sat Jun 23 10:33:40 2018 +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

[tor-commits] [tor/master] Merge remote-tracking branch 'ahf-github/maint-0.3.0' into maint-0.3.1

2018-06-29 Thread nickm
commit b89a66e9975dec4531c5443744f19b8105b4086a Merge: 419077c26 c997d49ad Author: Nick Mathewson Date: Fri Jun 29 13:06:11 2018 -0400 Merge remote-tracking branch 'ahf-github/maint-0.3.0' into maint-0.3.1 src/or/hs_descriptor.c| 1 + src/test/test_hs_descriptor.c | 11

[tor-commits] [tor/master] Merge branch 'maint-0.3.4'

2018-06-29 Thread nickm
commit 7a47379f252b4d277df7c289f8a9d3160b50eee0 Merge: 1a5be3c5e f6b30a97a Author: Nick Mathewson Date: Fri Jun 29 13:06:16 2018 -0400 Merge branch 'maint-0.3.4' changes/ticket26467| 3 +++ src/or/directory.c | 1 + src/or/hs_descriptor.c | 1 +

[tor-commits] [tor/master] Merge branch 'maint-0.3.2' into maint-0.3.3

2018-06-29 Thread nickm
commit df896ed6323f6f0493393f97e739501df8092e7f Merge: f8dad5a07 fe2588a5a Author: Nick Mathewson Date: Fri Jun 29 13:00:56 2018 -0400 Merge branch 'maint-0.3.2' into maint-0.3.3 src/or/routerlist.c | 2 ++ src/or/shared_random_state.c | 1 + src/test/test_hs.c| 7

[tor-commits] [tor/release-0.2.9] Merge branch 'maint-0.2.9' into release-0.2.9

2018-06-29 Thread nickm
commit d02c5f739ff8c5271fa8e7bf498a13283b5a7be3 Merge: e7b146736 b426e83f0 Author: Nick Mathewson Date: Fri Jun 29 13:00:55 2018 -0400 Merge branch 'maint-0.2.9' into release-0.2.9 src/or/routerlist.c | 2 ++ src/or/shared_random_state.c | 1 + src/test/test_hs.c|

[tor-commits] [tor/release-0.2.9] Merge remote-tracking branch 'ahf-github/maint-0.2.9' into maint-0.2.9

2018-06-29 Thread nickm
commit b426e83f077d57e14fc77ebae18a3637bb2c752a Merge: fcd26af7c 8ec6b36dc Author: Nick Mathewson Date: Fri Jun 29 13:00:52 2018 -0400 Merge remote-tracking branch 'ahf-github/maint-0.2.9' into maint-0.2.9 src/or/routerlist.c | 2 ++ src/or/shared_random_state.c | 1 +

[tor-commits] [tor/master] Fix memory leak in test_sr_setup_commits().

2018-06-29 Thread nickm
commit 8ec6b36dca928057c571af39fd3a9ed599ad5181 Author: Alexander Færøy Date: Sat Jun 23 11:31:59 2018 +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.

[tor-commits] [tor/master] Merge branch 'maint-0.3.4'

2018-06-29 Thread nickm
commit 1a5be3c5e76a9ce07c64499b6cb8a6bad9323113 Merge: 9d5b815dc 5ab23e03f Author: Nick Mathewson Date: Fri Jun 29 13:03:00 2018 -0400 Merge branch 'maint-0.3.4' src/or/dirauth/shared_random_state.c | 1 + src/or/routerlist.c | 1 + src/test/test_hs.c |

[tor-commits] [tor/master] Fix potential memory leak in hs_helper_build_hs_desc_impl().

2018-06-29 Thread nickm
commit dc2384da30cae716f512dedef37d27f00c43f29d Author: Alexander Færøy Date: Sat Jun 23 10:27:10 2018 +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

[tor-commits] [tor/master] Fix memory leak in test_channelpadding_consensus().

2018-06-29 Thread nickm
commit 8550016e6f5e2780259f5073e34e67708e4e87ff Author: Alexander Færøy Date: Sat Jun 23 12:52:04 2018 +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:

[tor-commits] [tor/master] Fix memory leak in frac_nodes_with_descriptors().

2018-06-29 Thread nickm
commit dcbfee246f35970f65d08a4555e25b956b9aba9c Author: Alexander Færøy Date: Sat Jun 23 03:24:10 2018 +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

[tor-commits] [tor/release-0.3.4] Merge branch 'maint-0.2.9' into maint-0.3.1

2018-06-29 Thread nickm
commit a3ec89a4f8a6222403697b7f7fce5d5138b79994 Merge: d583459d5 3c0a63c40 Author: Nick Mathewson Date: Fri Jun 29 13:49:43 2018 -0400 Merge branch 'maint-0.2.9' into maint-0.3.1 src/test/test_shared_random.c | 1 + 1 file changed, 1 insertion(+)

[tor-commits] [tor/release-0.3.4] Merge branch 'maint-0.3.3' into maint-0.3.4

2018-06-29 Thread nickm
commit 75a6e7e256719c33329cd172248f4f2dfc80ad8c Merge: d3ecb3a8d 36c372581 Author: Nick Mathewson Date: Fri Jun 29 13:49:43 2018 -0400 Merge branch 'maint-0.3.3' into maint-0.3.4 src/test/test_channelpadding.c | 1 + src/test/test_hs_descriptor.c | 3 +++ src/test/test_shared_random.c

[tor-commits] [tor/release-0.3.1] Merge branch 'maint-0.3.1' into release-0.3.1

2018-06-29 Thread nickm
commit d136e91ed7fb857c18063d01e0f3354677d50166 Merge: 4671b0573 1385a5118 Author: Nick Mathewson Date: Fri Jun 29 13:00:56 2018 -0400 Merge branch 'maint-0.3.1' into release-0.3.1 src/or/routerlist.c | 2 ++ src/or/shared_random_state.c | 1 + src/test/test_hs.c|

[tor-commits] [tor/release-0.2.9] Changes file for 26467

2018-06-29 Thread nickm
commit 890bc15ab641f1c22a39b9a86de656a4e3a2d225 Author: Nick Mathewson Date: Fri Jun 29 13:04:29 2018 -0400 Changes file for 26467 --- changes/ticket26467 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/changes/ticket26467 b/changes/ticket26467 new file mode 100644 index

[tor-commits] [tor/release-0.3.2] Fix memory leak in decode_link_specifiers().

2018-06-29 Thread nickm
commit 3d80c086bea3b0d93327c30ac620740b629cb294 Author: Alexander Færøy Date: Sat Jun 23 11:54:36 2018 +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

[tor-commits] [tor/release-0.3.2] Fix memory leak in test_channelpadding_consensus().

2018-06-29 Thread nickm
commit 8550016e6f5e2780259f5073e34e67708e4e87ff Author: Alexander Færøy Date: Sat Jun 23 12:52:04 2018 +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:

[tor-commits] [tor/release-0.3.2] Fix memory link in test_link_specifier().

2018-06-29 Thread nickm
commit c997d49ad6e6a360323311444eed1dbee785aea4 Author: Alexander Færøy Date: Sat Jun 23 12:39:20 2018 +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.

[tor-commits] [tor/release-0.3.2] Fix memory leak in frac_nodes_with_descriptors().

2018-06-29 Thread nickm
commit dcbfee246f35970f65d08a4555e25b956b9aba9c Author: Alexander Færøy Date: Sat Jun 23 03:24:10 2018 +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

[tor-commits] [tor/release-0.3.2] Fix memory leak in client_likes_consensus().

2018-06-29 Thread nickm
commit d86c45bf5cc75a526b884a754d72ef4d11aa0693 Author: Alexander Færøy Date: Sat Jun 23 10:33:40 2018 +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

[tor-commits] [tor/release-0.3.1] Merge branch 'maint-0.3.1' into release-0.3.1

2018-06-29 Thread nickm
commit fc5242889c921ac1322ca0b22a72f81df58d49b5 Merge: d136e91ed ea14d3408 Author: Nick Mathewson Date: Fri Jun 29 13:06:15 2018 -0400 Merge branch 'maint-0.3.1' into release-0.3.1 changes/ticket26467| 3 +++ src/or/directory.c | 1 + src/or/hs_descriptor.c

[tor-commits] [tor/release-0.3.1] Merge branch 'maint-0.2.9' into maint-0.3.1

2018-06-29 Thread nickm
commit 1385a5118d55edd3dd672eeb793b662853f30758 Merge: d6d3f8486 b426e83f0 Author: Nick Mathewson Date: Fri Jun 29 13:00:56 2018 -0400 Merge branch 'maint-0.2.9' into maint-0.3.1 src/or/routerlist.c | 2 ++ src/or/shared_random_state.c | 1 + src/test/test_hs.c| 7

[tor-commits] [tor/release-0.3.1] Changes file for 26467

2018-06-29 Thread nickm
commit 890bc15ab641f1c22a39b9a86de656a4e3a2d225 Author: Nick Mathewson Date: Fri Jun 29 13:04:29 2018 -0400 Changes file for 26467 --- changes/ticket26467 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/changes/ticket26467 b/changes/ticket26467 new file mode 100644 index

[tor-commits] [tor/release-0.3.2] Fix potential memory leak in hs_helper_build_intro_point().

2018-06-29 Thread nickm
commit 8c8941eb297a166aa7b1b915a543bf97b3a63039 Author: Alexander Færøy Date: Sat Jun 23 00:44:33 2018 +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

[tor-commits] [tor/release-0.3.1] Merge remote-tracking branch 'ahf-github/maint-0.2.9' into maint-0.2.9

2018-06-29 Thread nickm
commit b426e83f077d57e14fc77ebae18a3637bb2c752a Merge: fcd26af7c 8ec6b36dc Author: Nick Mathewson Date: Fri Jun 29 13:00:52 2018 -0400 Merge remote-tracking branch 'ahf-github/maint-0.2.9' into maint-0.2.9 src/or/routerlist.c | 2 ++ src/or/shared_random_state.c | 1 +

[tor-commits] [tor/release-0.3.1] Fix potential memory leak in hs_helper_build_hs_desc_impl().

2018-06-29 Thread nickm
commit dc2384da30cae716f512dedef37d27f00c43f29d Author: Alexander Færøy Date: Sat Jun 23 10:27:10 2018 +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

[tor-commits] [tor/release-0.3.1] Fix memory leak in decode_link_specifiers().

2018-06-29 Thread nickm
commit 3d80c086bea3b0d93327c30ac620740b629cb294 Author: Alexander Færøy Date: Sat Jun 23 11:54:36 2018 +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

[tor-commits] [tor/release-0.3.1] Fix memory leak in client_likes_consensus().

2018-06-29 Thread nickm
commit d86c45bf5cc75a526b884a754d72ef4d11aa0693 Author: Alexander Færøy Date: Sat Jun 23 10:33:40 2018 +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

[tor-commits] [tor/release-0.3.1] Fix memory leak in test_channelpadding_consensus().

2018-06-29 Thread nickm
commit 8550016e6f5e2780259f5073e34e67708e4e87ff Author: Alexander Færøy Date: Sat Jun 23 12:52:04 2018 +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:

[tor-commits] [tor/release-0.3.1] Fix memory leak in disk_state_parse_commits().

2018-06-29 Thread nickm
commit 3395de51a01aa5519c52404ed2bb9c8cda3571c9 Author: Alexander Færøy Date: Sat Jun 23 11:28:00 2018 +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,

[tor-commits] [tor/release-0.3.1] Fix memory leak in test_sr_setup_commits().

2018-06-29 Thread nickm
commit 8ec6b36dca928057c571af39fd3a9ed599ad5181 Author: Alexander Færøy Date: Sat Jun 23 11:31:59 2018 +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.

[tor-commits] [tor/release-0.3.1] Fix potential memory leak in hs_helper_build_intro_point().

2018-06-29 Thread nickm
commit 8c8941eb297a166aa7b1b915a543bf97b3a63039 Author: Alexander Færøy Date: Sat Jun 23 00:44:33 2018 +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

[tor-commits] [tor/release-0.3.1] Fix memory link in test_link_specifier().

2018-06-29 Thread nickm
commit c997d49ad6e6a360323311444eed1dbee785aea4 Author: Alexander Færøy Date: Sat Jun 23 12:39:20 2018 +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.

[tor-commits] [tor/release-0.2.9] Merge branch 'maint-0.2.9' into release-0.2.9

2018-06-29 Thread nickm
commit 0580b2ee77fc8b5a41c93c6309af26df3b88a02c Merge: d02c5f739 890bc15ab Author: Nick Mathewson Date: Fri Jun 29 13:06:15 2018 -0400 Merge branch 'maint-0.2.9' into release-0.2.9 changes/ticket26467 | 3 +++ 1 file changed, 3 insertions(+)

[tor-commits] [tor/release-0.3.1] Merge remote-tracking branch 'ahf-github/maint-0.3.1' into maint-0.3.1

2018-06-29 Thread nickm
commit 419077c26da1e50ed5671c69ec446a3eb60a8303 Merge: 1385a5118 8550016e6 Author: Nick Mathewson Date: Fri Jun 29 13:06:08 2018 -0400 Merge remote-tracking branch 'ahf-github/maint-0.3.1' into maint-0.3.1 src/or/directory.c | 1 + src/test/hs_test_helpers.c | 6 ++

[tor-commits] [tor/release-0.3.1] Fix potential memory leak in test_hs_auth_cookies().

2018-06-29 Thread nickm
commit 1724f995c71502977c79343922ab50fc2403284f Author: Alexander Færøy Date: Sat Jun 23 03:17:09 2018 +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

[tor-commits] [tor/release-0.3.2] Merge remote-tracking branch 'ahf-github/maint-0.2.9' into maint-0.2.9

2018-06-29 Thread nickm
commit b426e83f077d57e14fc77ebae18a3637bb2c752a Merge: fcd26af7c 8ec6b36dc Author: Nick Mathewson Date: Fri Jun 29 13:00:52 2018 -0400 Merge remote-tracking branch 'ahf-github/maint-0.2.9' into maint-0.2.9 src/or/routerlist.c | 2 ++ src/or/shared_random_state.c | 1 +

[tor-commits] [tor/release-0.3.2] Fix potential memory leak in hs_helper_build_hs_desc_impl().

2018-06-29 Thread nickm
commit dc2384da30cae716f512dedef37d27f00c43f29d Author: Alexander Færøy Date: Sat Jun 23 10:27:10 2018 +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

[tor-commits] [tor/release-0.3.2] Merge branch 'maint-0.2.9' into maint-0.3.1

2018-06-29 Thread nickm
commit 1385a5118d55edd3dd672eeb793b662853f30758 Merge: d6d3f8486 b426e83f0 Author: Nick Mathewson Date: Fri Jun 29 13:00:56 2018 -0400 Merge branch 'maint-0.2.9' into maint-0.3.1 src/or/routerlist.c | 2 ++ src/or/shared_random_state.c | 1 + src/test/test_hs.c| 7

[tor-commits] [tor/release-0.3.2] Fix memory leak in test_sr_setup_commits().

2018-06-29 Thread nickm
commit 8ec6b36dca928057c571af39fd3a9ed599ad5181 Author: Alexander Færøy Date: Sat Jun 23 11:31:59 2018 +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.

[tor-commits] [tor/release-0.3.1] Merge branch 'maint-0.2.9' into maint-0.3.1

2018-06-29 Thread nickm
commit ea14d3408df7c846722b54484cf5b8d61de5384f Merge: b89a66e99 890bc15ab Author: Nick Mathewson Date: Fri Jun 29 13:06:15 2018 -0400 Merge branch 'maint-0.2.9' into maint-0.3.1 changes/ticket26467 | 3 +++ 1 file changed, 3 insertions(+)

[tor-commits] [tor/release-0.3.2] Fix potential memory leak in test_hs_auth_cookies().

2018-06-29 Thread nickm
commit 1724f995c71502977c79343922ab50fc2403284f Author: Alexander Færøy Date: Sat Jun 23 03:17:09 2018 +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

[tor-commits] [tor/release-0.3.2] Fix memory leak in disk_state_parse_commits().

2018-06-29 Thread nickm
commit 3395de51a01aa5519c52404ed2bb9c8cda3571c9 Author: Alexander Færøy Date: Sat Jun 23 11:28:00 2018 +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,

[tor-commits] [tor/release-0.3.1] Fix memory leak in frac_nodes_with_descriptors().

2018-06-29 Thread nickm
commit dcbfee246f35970f65d08a4555e25b956b9aba9c Author: Alexander Færøy Date: Sat Jun 23 03:24:10 2018 +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

[tor-commits] [tor/release-0.3.1] Merge remote-tracking branch 'ahf-github/maint-0.3.0' into maint-0.3.1

2018-06-29 Thread nickm
commit b89a66e9975dec4531c5443744f19b8105b4086a Merge: 419077c26 c997d49ad Author: Nick Mathewson Date: Fri Jun 29 13:06:11 2018 -0400 Merge remote-tracking branch 'ahf-github/maint-0.3.0' into maint-0.3.1 src/or/hs_descriptor.c| 1 + src/test/test_hs_descriptor.c | 11

[tor-commits] [tor/maint-0.3.3] Fix potential memory leak in hs_helper_build_intro_point().

2018-06-29 Thread nickm
commit 8c8941eb297a166aa7b1b915a543bf97b3a63039 Author: Alexander Færøy Date: Sat Jun 23 00:44:33 2018 +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

[tor-commits] [tor/maint-0.3.2] Fix memory leak in test_sr_setup_commits().

2018-06-29 Thread nickm
commit 8ec6b36dca928057c571af39fd3a9ed599ad5181 Author: Alexander Færøy Date: Sat Jun 23 11:31:59 2018 +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.

[tor-commits] [tor/maint-0.3.2] Merge branch 'maint-0.3.1' into maint-0.3.2

2018-06-29 Thread nickm
commit 68dfbd5ef433b830059baa08d48589518db05d22 Merge: fe2588a5a ea14d3408 Author: Nick Mathewson Date: Fri Jun 29 13:06:15 2018 -0400 Merge branch 'maint-0.3.1' into maint-0.3.2 changes/ticket26467| 3 +++ src/or/directory.c | 1 + src/or/hs_descriptor.c

[tor-commits] [tor/maint-0.3.2] Fix memory leak in frac_nodes_with_descriptors().

2018-06-29 Thread nickm
commit dcbfee246f35970f65d08a4555e25b956b9aba9c Author: Alexander Færøy Date: Sat Jun 23 03:24:10 2018 +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

[tor-commits] [tor/maint-0.3.2] Fix potential memory leak in hs_helper_build_hs_desc_impl().

2018-06-29 Thread nickm
commit dc2384da30cae716f512dedef37d27f00c43f29d Author: Alexander Færøy Date: Sat Jun 23 10:27:10 2018 +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

[tor-commits] [tor/maint-0.3.1] Fix memory link in test_link_specifier().

2018-06-29 Thread nickm
commit c997d49ad6e6a360323311444eed1dbee785aea4 Author: Alexander Færøy Date: Sat Jun 23 12:39:20 2018 +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.

[tor-commits] [tor/maint-0.3.1] Merge remote-tracking branch 'ahf-github/maint-0.2.9' into maint-0.2.9

2018-06-29 Thread nickm
commit b426e83f077d57e14fc77ebae18a3637bb2c752a Merge: fcd26af7c 8ec6b36dc Author: Nick Mathewson Date: Fri Jun 29 13:00:52 2018 -0400 Merge remote-tracking branch 'ahf-github/maint-0.2.9' into maint-0.2.9 src/or/routerlist.c | 2 ++ src/or/shared_random_state.c | 1 +

[tor-commits] [tor/maint-0.3.2] Merge branch 'maint-0.3.1' into maint-0.3.2

2018-06-29 Thread nickm
commit fe2588a5a8560c8cb03345b3caaaf906655c34a1 Merge: 25226fb26 1385a5118 Author: Nick Mathewson Date: Fri Jun 29 13:00:56 2018 -0400 Merge branch 'maint-0.3.1' into maint-0.3.2 src/or/routerlist.c | 2 ++ src/or/shared_random_state.c | 1 + src/test/test_hs.c| 7

[tor-commits] [tor/maint-0.3.2] Merge branch 'maint-0.2.9' into maint-0.3.1

2018-06-29 Thread nickm
commit 1385a5118d55edd3dd672eeb793b662853f30758 Merge: d6d3f8486 b426e83f0 Author: Nick Mathewson Date: Fri Jun 29 13:00:56 2018 -0400 Merge branch 'maint-0.2.9' into maint-0.3.1 src/or/routerlist.c | 2 ++ src/or/shared_random_state.c | 1 + src/test/test_hs.c| 7

[tor-commits] [tor/maint-0.3.2] Fix memory leak in test_channelpadding_consensus().

2018-06-29 Thread nickm
commit 8550016e6f5e2780259f5073e34e67708e4e87ff Author: Alexander Færøy Date: Sat Jun 23 12:52:04 2018 +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:

[tor-commits] [tor/maint-0.3.2] Fix memory leak in disk_state_parse_commits().

2018-06-29 Thread nickm
commit 3395de51a01aa5519c52404ed2bb9c8cda3571c9 Author: Alexander Færøy Date: Sat Jun 23 11:28:00 2018 +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,

[tor-commits] [tor/maint-0.3.2] Merge remote-tracking branch 'ahf-github/maint-0.2.9' into maint-0.2.9

2018-06-29 Thread nickm
commit b426e83f077d57e14fc77ebae18a3637bb2c752a Merge: fcd26af7c 8ec6b36dc Author: Nick Mathewson Date: Fri Jun 29 13:00:52 2018 -0400 Merge remote-tracking branch 'ahf-github/maint-0.2.9' into maint-0.2.9 src/or/routerlist.c | 2 ++ src/or/shared_random_state.c | 1 +

[tor-commits] [tor/maint-0.3.2] Fix memory leak in client_likes_consensus().

2018-06-29 Thread nickm
commit d86c45bf5cc75a526b884a754d72ef4d11aa0693 Author: Alexander Færøy Date: Sat Jun 23 10:33:40 2018 +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

[tor-commits] [tor/maint-0.3.2] Fix potential memory leak in hs_helper_build_intro_point().

2018-06-29 Thread nickm
commit 8c8941eb297a166aa7b1b915a543bf97b3a63039 Author: Alexander Færøy Date: Sat Jun 23 00:44:33 2018 +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

[tor-commits] [tor/maint-0.3.1] Merge remote-tracking branch 'ahf-github/maint-0.3.1' into maint-0.3.1

2018-06-29 Thread nickm
commit 419077c26da1e50ed5671c69ec446a3eb60a8303 Merge: 1385a5118 8550016e6 Author: Nick Mathewson Date: Fri Jun 29 13:06:08 2018 -0400 Merge remote-tracking branch 'ahf-github/maint-0.3.1' into maint-0.3.1 src/or/directory.c | 1 + src/test/hs_test_helpers.c | 6 ++

[tor-commits] [tor/maint-0.3.3] Merge branch 'maint-0.3.2' into maint-0.3.3

2018-06-29 Thread nickm
commit f82f8179e65c5e0021da46fd24e4bd7d8126d8f7 Merge: df896ed63 68dfbd5ef Author: Nick Mathewson Date: Fri Jun 29 13:06:15 2018 -0400 Merge branch 'maint-0.3.2' into maint-0.3.3 changes/ticket26467| 3 +++ src/or/directory.c | 1 + src/or/hs_descriptor.c

[tor-commits] [tor/maint-0.3.3] Merge remote-tracking branch 'ahf-github/maint-0.3.1' into maint-0.3.1

2018-06-29 Thread nickm
commit 419077c26da1e50ed5671c69ec446a3eb60a8303 Merge: 1385a5118 8550016e6 Author: Nick Mathewson Date: Fri Jun 29 13:06:08 2018 -0400 Merge remote-tracking branch 'ahf-github/maint-0.3.1' into maint-0.3.1 src/or/directory.c | 1 + src/test/hs_test_helpers.c | 6 ++

[tor-commits] [tor/maint-0.3.3] Merge remote-tracking branch 'ahf-github/maint-0.2.9' into maint-0.2.9

2018-06-29 Thread nickm
commit b426e83f077d57e14fc77ebae18a3637bb2c752a Merge: fcd26af7c 8ec6b36dc Author: Nick Mathewson Date: Fri Jun 29 13:00:52 2018 -0400 Merge remote-tracking branch 'ahf-github/maint-0.2.9' into maint-0.2.9 src/or/routerlist.c | 2 ++ src/or/shared_random_state.c | 1 +

[tor-commits] [tor/maint-0.3.3] Changes file for 26467

2018-06-29 Thread nickm
commit 890bc15ab641f1c22a39b9a86de656a4e3a2d225 Author: Nick Mathewson Date: Fri Jun 29 13:04:29 2018 -0400 Changes file for 26467 --- changes/ticket26467 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/changes/ticket26467 b/changes/ticket26467 new file mode 100644 index

[tor-commits] [tor/maint-0.3.4] Fix potential memory leak in hs_helper_build_hs_desc_impl().

2018-06-29 Thread nickm
commit dc2384da30cae716f512dedef37d27f00c43f29d Author: Alexander Færøy Date: Sat Jun 23 10:27:10 2018 +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

[tor-commits] [tor/maint-0.3.3] Fix memory leak in test_sr_setup_commits().

2018-06-29 Thread nickm
commit 8ec6b36dca928057c571af39fd3a9ed599ad5181 Author: Alexander Færøy Date: Sat Jun 23 11:31:59 2018 +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.

[tor-commits] [tor/maint-0.3.3] Fix memory leak in frac_nodes_with_descriptors().

2018-06-29 Thread nickm
commit dcbfee246f35970f65d08a4555e25b956b9aba9c Author: Alexander Færøy Date: Sat Jun 23 03:24:10 2018 +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

[tor-commits] [tor/maint-0.3.4] Fix potential memory leak in test_hs_auth_cookies().

2018-06-29 Thread nickm
commit 1724f995c71502977c79343922ab50fc2403284f Author: Alexander Færøy Date: Sat Jun 23 03:17:09 2018 +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

  1   2   3   4   >