]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
6 years agoBump to 0.4.0.2-alpha-dev
Nick Mathewson [Thu, 21 Feb 2019 18:25:33 +0000 (13:25 -0500)] 
Bump to 0.4.0.2-alpha-dev

6 years agoMerge branch 'maint-0.3.5' into maint-0.4.0
Nick Mathewson [Thu, 21 Feb 2019 18:25:02 +0000 (13:25 -0500)] 
Merge branch 'maint-0.3.5' into maint-0.4.0

"ours" to avoid version bump.

6 years agoBump to 0.3.5.8-dev
Nick Mathewson [Thu, 21 Feb 2019 18:24:42 +0000 (13:24 -0500)] 
Bump to 0.3.5.8-dev

6 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Thu, 21 Feb 2019 18:23:52 +0000 (13:23 -0500)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

"ours" to avoid version bump.

6 years agoBump to 0.3.4.11-dev
Nick Mathewson [Thu, 21 Feb 2019 18:23:46 +0000 (13:23 -0500)] 
Bump to 0.3.4.11-dev

6 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Thu, 21 Feb 2019 18:23:22 +0000 (13:23 -0500)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

"ours" to avoid version bump

6 years agoBump to 0.3.3.12-dev
Nick Mathewson [Thu, 21 Feb 2019 18:22:56 +0000 (13:22 -0500)] 
Bump to 0.3.3.12-dev

6 years agoMerge branch 'maint-0.3.5' into maint-0.4.0
Nick Mathewson [Thu, 21 Feb 2019 15:08:14 +0000 (10:08 -0500)] 
Merge branch 'maint-0.3.5' into maint-0.4.0

6 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Thu, 21 Feb 2019 15:08:14 +0000 (10:08 -0500)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

6 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Thu, 21 Feb 2019 15:08:14 +0000 (10:08 -0500)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

6 years agokist: Don't write above the highwater outbuf mark
David Goulet [Thu, 24 Jan 2019 15:52:08 +0000 (10:52 -0500)] 
kist: Don't write above the highwater outbuf mark

KIST works by computing how much should be allowed to write to the kernel for
a given socket, and then it writes that amount to the outbuf.

The problem is that it could be possible that the outbuf already has lots of
data in it from a previous scheduling round (because the kernel is full/busy
and Tor was not able to flush the outbuf yet). KIST ignores that the outbuf
has been filling (is above its "highwater") and writes more anyway. The end
result is that the outbuf length would exceed INT_MAX, hence causing an
assertion error and a corresponding "Bug()" message to get printed to the
logs.

This commit makes it for KIST to take into account the outbuf length when
computing the available space.

Bug found and patch by Rob Jansen.

Closes #29168. TROVE-2019-001.

Signed-off-by: David Goulet <dgoulet@torproject.org>
6 years agoBump version to 0.4.0.2-alpha
Nick Mathewson [Thu, 21 Feb 2019 14:52:27 +0000 (09:52 -0500)] 
Bump version to 0.4.0.2-alpha

6 years agoMerge branch 'maint-0.3.5' into maint-0.4.0
Nick Mathewson [Thu, 21 Feb 2019 14:51:38 +0000 (09:51 -0500)] 
Merge branch 'maint-0.3.5' into maint-0.4.0

"ours" to avoid version bump.

6 years agoBump to 0.3.5.8
Nick Mathewson [Thu, 21 Feb 2019 14:51:29 +0000 (09:51 -0500)] 
Bump to 0.3.5.8

6 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Thu, 21 Feb 2019 14:50:46 +0000 (09:50 -0500)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

"ours" to avoid version bump.

6 years agoBump to 0.3.4.11
Nick Mathewson [Thu, 21 Feb 2019 14:50:22 +0000 (09:50 -0500)] 
Bump to 0.3.4.11

6 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Thu, 21 Feb 2019 14:49:56 +0000 (09:49 -0500)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

6 years agoUpdate to 0.3.3.12
Nick Mathewson [Thu, 21 Feb 2019 14:49:48 +0000 (09:49 -0500)] 
Update to 0.3.3.12

6 years agoFix a goofy change from abcde10fce that broke test-slow linking
Nick Mathewson [Thu, 21 Feb 2019 14:06:51 +0000 (09:06 -0500)] 
Fix a goofy change from abcde10fce that broke test-slow linking

boklm tracked this down, and it doesn't make sense.  It caused

This change goes back to the previous LDFLAGS line.

6 years agoMerge remote-tracking branch 'nickm/ticket29530_040' into maint-0.4.0
Roger Dingledine [Wed, 20 Feb 2019 15:39:28 +0000 (10:39 -0500)] 
Merge remote-tracking branch 'nickm/ticket29530_040' into maint-0.4.0

6 years agoMerge remote-tracking branch 'nickm/ticket29534_040' into maint-0.4.0
Roger Dingledine [Wed, 20 Feb 2019 15:35:56 +0000 (10:35 -0500)] 
Merge remote-tracking branch 'nickm/ticket29534_040' into maint-0.4.0

6 years agofix typos from #28614
Roger Dingledine [Wed, 20 Feb 2019 15:32:47 +0000 (10:32 -0500)] 
fix typos from #28614

6 years agoDowngrade some LOG_ERR messages in the address/* tests to warnings
Nick Mathewson [Tue, 19 Feb 2019 19:02:32 +0000 (14:02 -0500)] 
Downgrade some LOG_ERR messages in the address/* tests to warnings

Fixes bug 29530, where the LOG_ERR messages were occurring when
we had no configured network, and so we were failing the unit tests
because of the recently-merged #28668.

Bug not in any released Tor.

6 years agoMark map_anon_nofork test as skipped in 0.4.0
Nick Mathewson [Tue, 19 Feb 2019 18:14:26 +0000 (13:14 -0500)] 
Mark map_anon_nofork test as skipped in 0.4.0

This test fails in some environments; since the code isn't used in
0.4.0, let's disable it for now.

Band-aid solution for #29534; bug not in any released Tor.

6 years agoMerge remote-tracking branch 'tor-github/pr/706' into maint-0.4.0
Nick Mathewson [Tue, 19 Feb 2019 16:53:02 +0000 (11:53 -0500)] 
Merge remote-tracking branch 'tor-github/pr/706' into maint-0.4.0

6 years agoMerge remote-tracking branch 'tor-github/pr/704' into maint-0.4.0
Nick Mathewson [Tue, 19 Feb 2019 16:51:19 +0000 (11:51 -0500)] 
Merge remote-tracking branch 'tor-github/pr/704' into maint-0.4.0

6 years agoMerge branch 'bug29145_029' into maint-0.4.0
Nick Mathewson [Tue, 19 Feb 2019 16:49:20 +0000 (11:49 -0500)] 
Merge branch 'bug29145_029' into maint-0.4.0

6 years agoFix a compiler warning on OpenBSD
Kris Katterjohn [Mon, 21 Jan 2019 22:33:32 +0000 (16:33 -0600)] 
Fix a compiler warning on OpenBSD

malloc_options needs to be declared extern (and declaring it extern
means we need to initialize it separately)

Fixes bug 29145; bugfix on 0.2.9.3-alpha

Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
6 years agoMerge remote-tracking branch 'tor-github/pr/707' into maint-0.4.0
Nick Mathewson [Tue, 19 Feb 2019 16:34:21 +0000 (11:34 -0500)] 
Merge remote-tracking branch 'tor-github/pr/707' into maint-0.4.0

6 years agoMerge branch 'bug28698_035' into maint-0.4.0
Nick Mathewson [Tue, 19 Feb 2019 16:27:18 +0000 (11:27 -0500)] 
Merge branch 'bug28698_035' into maint-0.4.0

6 years agoAdd circuit time check before logging about relaxing circuit time
José M. Guisado [Tue, 22 Jan 2019 23:04:57 +0000 (00:04 +0100)] 
Add circuit time check before logging about relaxing circuit time

Signed-off-by: José M. Guisado <guigom@riseup.net>
6 years agoMerge remote-tracking branch 'tor-github/pr/701' into maint-0.4.0
Nick Mathewson [Tue, 19 Feb 2019 16:21:51 +0000 (11:21 -0500)] 
Merge remote-tracking branch 'tor-github/pr/701' into maint-0.4.0

6 years agofix a bootstrapping string typo
Roger Dingledine [Sun, 17 Feb 2019 21:56:13 +0000 (16:56 -0500)] 
fix a bootstrapping string typo

introduced in 85542ee5

next step is to fix it in torspec too

6 years agofix some of the typos in Maintaining.md
Roger Dingledine [Sun, 17 Feb 2019 21:55:55 +0000 (16:55 -0500)] 
fix some of the typos in Maintaining.md

6 years agoMake test-slow compile with libevent
Neel Chauhan [Sat, 16 Feb 2019 21:03:17 +0000 (16:03 -0500)] 
Make test-slow compile with libevent

6 years agoRemove check-tor script
rl1987 [Fri, 15 Feb 2019 17:18:24 +0000 (19:18 +0200)] 
Remove check-tor script

6 years agokist: When readding chans, check correct chan's sched_heap_idx
Matt Traudt [Thu, 14 Feb 2019 21:18:58 +0000 (16:18 -0500)] 
kist: When readding chans, check correct chan's sched_heap_idx

Closes #29508

Signed-off-by: David Goulet <dgoulet@torproject.org>
6 years agoMerge branch 'tor-github/pr/702'
David Goulet [Thu, 14 Feb 2019 16:43:10 +0000 (11:43 -0500)] 
Merge branch 'tor-github/pr/702'

6 years agoMerge branch 'maint-0.3.5'
George Kadianakis [Thu, 14 Feb 2019 16:01:07 +0000 (18:01 +0200)] 
Merge branch 'maint-0.3.5'

6 years agoMerge branch 'tor-github/pr/689' into maint-0.3.5
George Kadianakis [Thu, 14 Feb 2019 16:00:05 +0000 (18:00 +0200)] 
Merge branch 'tor-github/pr/689' into maint-0.3.5

6 years agoMerge branch 'maint-0.3.5'
George Kadianakis [Thu, 14 Feb 2019 15:40:59 +0000 (17:40 +0200)] 
Merge branch 'maint-0.3.5'

6 years agoMerge branch 'tor-github/pr/536' into maint-0.3.5
George Kadianakis [Thu, 14 Feb 2019 15:39:34 +0000 (17:39 +0200)] 
Merge branch 'tor-github/pr/536' into maint-0.3.5

6 years agoAdd whitebox test for the long-output optimization of fast_rng
Nick Mathewson [Thu, 7 Feb 2019 13:18:46 +0000 (08:18 -0500)] 
Add whitebox test for the long-output optimization of fast_rng

6 years agoAdd test for crypto_fast_rng_get_double().
Nick Mathewson [Thu, 7 Feb 2019 13:18:08 +0000 (08:18 -0500)] 
Add test for crypto_fast_rng_get_double().

6 years agoAdd a test-rng program so we can pipe to dieharder.
Nick Mathewson [Wed, 6 Feb 2019 14:36:12 +0000 (09:36 -0500)] 
Add a test-rng program so we can pipe to dieharder.

6 years agoAdd a benchmark for our several PRNGs.
Nick Mathewson [Sat, 2 Feb 2019 15:01:28 +0000 (16:01 +0100)] 
Add a benchmark for our several PRNGs.

6 years agoImplement a fast aes-ctr prng
Nick Mathewson [Tue, 5 Feb 2019 17:49:04 +0000 (12:49 -0500)] 
Implement a fast aes-ctr prng

This module is currently implemented to use the same technique as
libottery (later used by the bsds' arc4random replacement), using
AES-CTR-256 as its underlying stream cipher.  It's backtracking-
resistant immediately after each call, and prediction-resistant
after a while.

Here's how it works:

We generate psuedorandom bytes using AES-CTR-256.  We generate BUFLEN bytes
at a time.  When we do this, we keep the first SEED_LEN bytes as the key
and the IV for our next invocation of AES_CTR, and yield the remaining
BUFLEN - SEED_LEN bytes to the user as they invoke the PRNG.  As we yield
bytes to the user, we clear them from the buffer.

Every RESEED_AFTER times we refill the buffer, we mix in an additional
SEED_LEN bytes from our strong PRNG into the seed.

If the user ever asks for a huge number of bytes at once, we pull SEED_LEN
bytes from the PRNG and use them with our stream cipher to fill the user's
request.

6 years agoExtract RNG tests into a new test module
Nick Mathewson [Wed, 6 Feb 2019 17:28:05 +0000 (12:28 -0500)] 
Extract RNG tests into a new test module

test_crypto.c is pretty big; it wouldn't hurt to split it up some
more before I start adding stuff to the PRNG tests.

6 years agoExtract the common body of our random-int functions into a macro
Nick Mathewson [Wed, 6 Feb 2019 17:51:50 +0000 (12:51 -0500)] 
Extract the common body of our random-int functions into a macro

This is the second part of refactoring the random-int-in-range code.

6 years agoDisable unstable circuit padding unittest.
George Kadianakis [Thu, 14 Feb 2019 10:07:10 +0000 (12:07 +0200)] 
Disable unstable circuit padding unittest.

until #29298 is implemented.

6 years agoMerge remote-tracking branch 'tor-github/pr/699'
Nick Mathewson [Wed, 13 Feb 2019 20:19:59 +0000 (15:19 -0500)] 
Merge remote-tracking branch 'tor-github/pr/699'

6 years agoMerge remote-tracking branch 'tor-github/pr/674'
Nick Mathewson [Wed, 13 Feb 2019 16:38:35 +0000 (11:38 -0500)] 
Merge remote-tracking branch 'tor-github/pr/674'

6 years agoMerge branch 'maint-0.3.5'
David Goulet [Wed, 13 Feb 2019 16:02:09 +0000 (11:02 -0500)] 
Merge branch 'maint-0.3.5'

6 years agoMerge branch 'tor-github/pr/651'
David Goulet [Wed, 13 Feb 2019 16:02:02 +0000 (11:02 -0500)] 
Merge branch 'tor-github/pr/651'

6 years agoMerge branch 'tor-github/pr/650' into maint-0.3.5
David Goulet [Wed, 13 Feb 2019 15:56:24 +0000 (10:56 -0500)] 
Merge branch 'tor-github/pr/650' into maint-0.3.5

6 years agochanges: Add changes file for #26698
juga0 [Tue, 6 Nov 2018 14:58:15 +0000 (14:58 +0000)] 
changes: Add changes file for #26698

6 years agodirvote: Add the bandwidth file digest in the vote
juga0 [Tue, 6 Nov 2018 14:57:18 +0000 (14:57 +0000)] 
dirvote: Add the bandwidth file digest in the vote

6 years agotest: Add test to get the digest of a bw file
juga0 [Tue, 6 Nov 2018 14:56:05 +0000 (14:56 +0000)] 
test: Add test to get the digest of a bw file

6 years agobwauth: Add function to get the digest of a bw file
juga0 [Tue, 6 Nov 2018 14:49:20 +0000 (14:49 +0000)] 
bwauth: Add function to get the digest of a bw file

6 years agoMerge branch 'tor-github/pr/690'
David Goulet [Tue, 12 Feb 2019 18:04:25 +0000 (13:04 -0500)] 
Merge branch 'tor-github/pr/690'

6 years agoMerge branch 'tor-github/pr/671'
David Goulet [Tue, 12 Feb 2019 18:02:30 +0000 (13:02 -0500)] 
Merge branch 'tor-github/pr/671'

6 years agoOn windows, if we fail to load a consensus and it has a CRLF, retry.
Nick Mathewson [Wed, 30 Jan 2019 08:22:36 +0000 (09:22 +0100)] 
On windows, if we fail to load a consensus and it has a CRLF, retry.

Fixes bug 28614; bugfix on 0.4.0.1-alpha when we started mmapping
the consensus.

6 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Tue, 12 Feb 2019 14:56:50 +0000 (09:56 -0500)] 
Merge branch 'maint-0.3.5'

6 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Tue, 12 Feb 2019 14:56:49 +0000 (09:56 -0500)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

6 years agoMerge branch 'maint-0.2.9' into maint-0.3.3
Nick Mathewson [Tue, 12 Feb 2019 14:56:49 +0000 (09:56 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.3

6 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Tue, 12 Feb 2019 14:56:49 +0000 (09:56 -0500)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

6 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Tue, 12 Feb 2019 14:55:09 +0000 (09:55 -0500)] 
Merge branch 'maint-0.3.5'

6 years agotest: Fix a warning underflow in rend_cache/clean
David Goulet [Thu, 29 Nov 2018 15:02:50 +0000 (10:02 -0500)] 
test: Fix a warning underflow in rend_cache/clean

Because the test is adding entries to the "rend_cache" directly, the
rend_cache_increment_allocation() was never called which made the
rend_cache_clean() call trigger that underflow warning:

rend_cache/clean: [forking] Nov 29 09:55:04.024 [warn] rend_cache_decrement_allocation(): Bug: Underflow in rend_cache_decrement_allocation (on Tor 0.4.0.0-alpha-dev 2240fe63feb9a8cf)

The test is still good and valid.

Fixes #28660

Signed-off-by: David Goulet <dgoulet@torproject.org>
6 years agoUpdate geoip and geoip6 to the February 5 2019 database.
Karsten Loesing [Tue, 12 Feb 2019 13:40:42 +0000 (14:40 +0100)] 
Update geoip and geoip6 to the February 5 2019 database.

6 years agoChanges file for ticket29026.
Nick Mathewson [Fri, 8 Feb 2019 13:52:46 +0000 (08:52 -0500)] 
Changes file for ticket29026.

6 years agoAdd more openssl includes to fix no-deprecated compilation
Nick Mathewson [Fri, 8 Feb 2019 13:51:04 +0000 (08:51 -0500)] 
Add more openssl includes to fix no-deprecated compilation

Closes ticket 29026; patch from Mangix.

6 years agoFix compilation when openssl is compiled without engine support.
Nick Mathewson [Fri, 8 Feb 2019 13:50:04 +0000 (08:50 -0500)] 
Fix compilation when openssl is compiled without engine support.

Patch from Mangix. Closes part of ticket 29026.

6 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Fri, 8 Feb 2019 13:37:46 +0000 (08:37 -0500)] 
Merge branch 'maint-0.3.5'

6 years agoMerge branch 'ticket29040_1_changes' into maint-0.3.5
Nick Mathewson [Fri, 8 Feb 2019 13:37:43 +0000 (08:37 -0500)] 
Merge branch 'ticket29040_1_changes' into maint-0.3.5

6 years agoAdd changes file for bug 29040.
Nick Mathewson [Fri, 8 Feb 2019 13:37:23 +0000 (08:37 -0500)] 
Add changes file for bug 29040.

6 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Fri, 8 Feb 2019 13:19:34 +0000 (08:19 -0500)] 
Merge branch 'maint-0.3.5'

6 years agoMerge remote-tracking branch 'tor-github/pr/670' into maint-0.3.5
Nick Mathewson [Fri, 8 Feb 2019 13:19:31 +0000 (08:19 -0500)] 
Merge remote-tracking branch 'tor-github/pr/670' into maint-0.3.5

6 years agoExtract numeric CSPRNG functions into a new module.
Nick Mathewson [Wed, 6 Feb 2019 17:40:01 +0000 (12:40 -0500)] 
Extract numeric CSPRNG functions into a new module.

Some of the code for getting a random value within a range wants to
be shared between crypto_rand() and the new crypto_fast_rng() code.

6 years agoRemove extraneous #if/#endif wrapper in crypto_rand.c
Nick Mathewson [Wed, 6 Feb 2019 17:37:02 +0000 (12:37 -0500)] 
Remove extraneous #if/#endif wrapper in crypto_rand.c

I don't know how this got here, but this kind of a wrapper only
belongs in a header file.

6 years agoCode for anonymous mappings via mmap() or CreateFileMapping().
Nick Mathewson [Tue, 5 Feb 2019 21:58:56 +0000 (16:58 -0500)] 
Code for anonymous mappings via mmap() or CreateFileMapping().

Using an anonymous mmap() is a good way to get pages that we can set
kernel-level flags on, like minherit() or madvise() or mlock().
We're going to use that so that we can make uninheritable locked
pages to store PRNG data.

6 years agoMerge branch 'maint-0.3.5'
Roger Dingledine [Tue, 5 Feb 2019 13:10:43 +0000 (08:10 -0500)] 
Merge branch 'maint-0.3.5'

6 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
Roger Dingledine [Tue, 5 Feb 2019 13:10:14 +0000 (08:10 -0500)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

6 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Roger Dingledine [Tue, 5 Feb 2019 13:09:47 +0000 (08:09 -0500)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

6 years agoAdd release note for bug 29150
Peter Gerber [Sat, 2 Feb 2019 23:09:44 +0000 (23:09 +0000)] 
Add release note for bug 29150

6 years agoUpdate Cargo.lock with new comment; suppress 29244.
Nick Mathewson [Fri, 1 Feb 2019 15:38:23 +0000 (16:38 +0100)] 
Update Cargo.lock with new comment; suppress 29244.

6 years agoUse RFC5737-compliant example IP addresses in manpage when describing MapAddress
rl1987 [Wed, 30 Jan 2019 15:13:40 +0000 (17:13 +0200)] 
Use RFC5737-compliant example IP addresses in manpage when describing MapAddress

6 years agoWrite consensus files in binary mode
Nick Mathewson [Tue, 29 Jan 2019 15:18:41 +0000 (16:18 +0100)] 
Write consensus files in binary mode

This will help us out on windows now that we mmap files.  Fixes part
of ticket 28614.

6 years agoAllow empty username/password in SOCKS5 username/password auth message
rl1987 [Sat, 26 Jan 2019 08:55:53 +0000 (10:55 +0200)] 
Allow empty username/password in SOCKS5 username/password auth message

6 years agoOne more 32-bit clang warning
Nick Mathewson [Thu, 24 Jan 2019 20:23:06 +0000 (15:23 -0500)] 
One more 32-bit clang warning

6 years agoUse tt_u64_op() in test_circuitpadding.c to fix compilation warnings
Nick Mathewson [Thu, 24 Jan 2019 18:20:21 +0000 (13:20 -0500)] 
Use tt_u64_op() in test_circuitpadding.c to fix compilation warnings

Fixes bug 29169.

6 years agoMerge branch 'precommit_squashed'
Nick Mathewson [Thu, 24 Jan 2019 16:08:10 +0000 (11:08 -0500)] 
Merge branch 'precommit_squashed'

6 years agoOnly run the checkIncludes.py script if it exists
Nick Mathewson [Thu, 24 Jan 2019 13:06:09 +0000 (08:06 -0500)] 
Only run the checkIncludes.py script if it exists

(It was added in 0.3.5)

6 years agolintChanges.py didn't take a directory argument in 0.2.9
Nick Mathewson [Thu, 24 Jan 2019 13:05:42 +0000 (08:05 -0500)] 
lintChanges.py didn't take a directory argument in 0.2.9

6 years agoAlso run checkInclude.py before every commit
rl1987 [Thu, 24 Jan 2019 10:22:28 +0000 (12:22 +0200)] 
Also run checkInclude.py before every commit

6 years agoAdd a pre-commit hook that runs code and changelog entry formatting checks
rl1987 [Mon, 21 Jan 2019 11:01:52 +0000 (13:01 +0200)] 
Add a pre-commit hook that runs code and changelog entry formatting checks

6 years agoMerge branch 'ticket28668_035' into ticket28668_040
Nick Mathewson [Wed, 23 Jan 2019 22:08:36 +0000 (17:08 -0500)] 
Merge branch 'ticket28668_035' into ticket28668_040

6 years agoAnother case of possible gmtime angst.
Nick Mathewson [Wed, 23 Jan 2019 22:07:39 +0000 (17:07 -0500)] 
Another case of possible gmtime angst.

6 years agohs-v3: add an option param to safe log functions
Suphanat Chunhapanya [Tue, 15 Jan 2019 05:16:23 +0000 (12:16 +0700)] 
hs-v3: add an option param to safe log functions

We add an option param to safe_str and safe_str_client because in
some case we need to use those functions before global_options is set.

6 years agohs-v3: fix use after free in client auth config
Suphanat Chunhapanya [Tue, 15 Jan 2019 05:12:31 +0000 (12:12 +0700)] 
hs-v3: fix use after free in client auth config

We accidentally use `auth` after freeing it in
client_service_authorization_free. The way to solve it is to
free after using it.

6 years agoMerge branch 'ticket28668_035' into ticket28668_040
Nick Mathewson [Wed, 23 Jan 2019 19:50:22 +0000 (14:50 -0500)] 
Merge branch 'ticket28668_035' into ticket28668_040