]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
13 years agoPrepend cwd for relative config file paths.
Kamran Riaz Khan [Sun, 4 Dec 2011 16:33:20 +0000 (21:33 +0500)] 
Prepend cwd for relative config file paths.

Modifies filenames which do not start with '/' or '.' on non-Windows
platforms; uses _fullpath on Windows.

13 years agoMerge remote-tracking branch 'public/bug4697'
Nick Mathewson [Thu, 22 Dec 2011 14:45:26 +0000 (09:45 -0500)] 
Merge remote-tracking branch 'public/bug4697'

13 years agoConvert a couple of char[256]s into sockaddr_storage
Nick Mathewson [Wed, 21 Dec 2011 16:23:13 +0000 (11:23 -0500)] 
Convert a couple of char[256]s into sockaddr_storage

13 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Wed, 21 Dec 2011 16:20:56 +0000 (11:20 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

13 years agoDo not even try to keep going on a socket with socklen==0
Nick Mathewson [Mon, 19 Dec 2011 19:37:52 +0000 (14:37 -0500)] 
Do not even try to keep going on a socket with socklen==0

Back in #1240, r1eo linked to information about how this could happen
with older Linux kernels in response to nmap.  Bugs #4545 and #4547
are about how our approach to trying to deal with this condition was
broken and stupid.  Thanks to wanoskarnet for reminding us about #1240.

This is a fix for the abovementioned bugs, and is a bugfix on
0.1.0.3-rc.

13 years agoduplicate changelog entry for 4531
Nick Mathewson [Tue, 20 Dec 2011 19:51:34 +0000 (14:51 -0500)] 
duplicate changelog entry for 4531

13 years agoMerge remote-tracking branch 'asn-mytor/bug4531'
Nick Mathewson [Tue, 20 Dec 2011 19:40:16 +0000 (14:40 -0500)] 
Merge remote-tracking branch 'asn-mytor/bug4531'

13 years agoMerge remote-tracking branch 'asn-mytor/bug4725_take2'
Nick Mathewson [Tue, 20 Dec 2011 19:28:31 +0000 (14:28 -0500)] 
Merge remote-tracking branch 'asn-mytor/bug4725_take2'

13 years agoDon't call tor_tls_set_logged_address till after checking conn->tls.
George Kadianakis [Tue, 20 Dec 2011 18:17:58 +0000 (19:17 +0100)] 
Don't call tor_tls_set_logged_address till after checking conn->tls.

Fixes bug 4531.

13 years agoAdd explicit cast to make gcc happy
Nick Mathewson [Tue, 20 Dec 2011 16:19:57 +0000 (11:19 -0500)] 
Add explicit cast to make gcc happy

13 years agoMerge branch 'bug3825b-v8-squashed'
Nick Mathewson [Tue, 20 Dec 2011 16:15:49 +0000 (11:15 -0500)] 
Merge branch 'bug3825b-v8-squashed'

13 years agoAdjust n_intro_points_wanted when a service's intro points are closed
Robert Ransom [Tue, 13 Dec 2011 13:00:09 +0000 (05:00 -0800)] 
Adjust n_intro_points_wanted when a service's intro points are closed

13 years agoExtract function to determine how many intros an intro point has handled
Robert Ransom [Tue, 13 Dec 2011 11:36:48 +0000 (03:36 -0800)] 
Extract function to determine how many intros an intro point has handled

13 years agoMerge branch 'haiku_port_rebase'
Nick Mathewson [Mon, 19 Dec 2011 16:29:29 +0000 (11:29 -0500)] 
Merge branch 'haiku_port_rebase'

13 years agoExplain why we are making gcc 3.3 work
Nick Mathewson [Mon, 19 Dec 2011 16:29:03 +0000 (11:29 -0500)] 
Explain why we are making gcc 3.3 work

13 years agoTweak the haiku-support patches
Nick Mathewson [Mon, 19 Dec 2011 16:26:50 +0000 (11:26 -0500)] 
Tweak the haiku-support patches

13 years agoFixed build with GCC < 3.3
Martin Hebnes Pedersen [Sat, 17 Dec 2011 16:51:07 +0000 (17:51 +0100)] 
Fixed build with GCC < 3.3

Preprocessor directives should not be put inside the arguments
of a macro. This is not supported on older GCC releases (< 3.3)
thus broke compilation on Haiku (running gcc2).

13 years ago-lm should not be hardcoded.
Martin Hebnes Pedersen [Sat, 17 Dec 2011 13:30:41 +0000 (14:30 +0100)] 
-lm should not be hardcoded.

On some platforms (Haiku/BeOS) libm lives in libcore.

Also added 'network' to the list of libraries to search for connect().

13 years agoServer transports should be instructed to bind on INADDR_ANY by default.
George Kadianakis [Sun, 18 Dec 2011 12:21:58 +0000 (13:21 +0100)] 
Server transports should be instructed to bind on INADDR_ANY by default.

13 years agoIgnore all bufferevent events on a marked connection
Nick Mathewson [Sat, 17 Dec 2011 19:06:10 +0000 (14:06 -0500)] 
Ignore all bufferevent events on a marked connection

Bug 4697; fix on 0.2.3.1-alpha

13 years agoMerge remote-tracking branch 'asn-mytor/bug4726'
Nick Mathewson [Sat, 17 Dec 2011 17:49:15 +0000 (12:49 -0500)] 
Merge remote-tracking branch 'asn-mytor/bug4726'

13 years agoAnd a changes file for bug#4733
Peter Palfrader [Sat, 17 Dec 2011 10:30:30 +0000 (11:30 +0100)] 
And a changes file for bug#4733

13 years agotest_util_spawn_background_ok: fix expectation
Peter Palfrader [Sat, 17 Dec 2011 10:22:31 +0000 (11:22 +0100)] 
test_util_spawn_background_ok: fix expectation

test_util_spawn_background_ok() hardcoded the expected value
for ENOENT to 2.  This isn't portable as error numbers are
platform specific, and particularly the hurd has ENOENT at
0x40000002.

Construct expected string at runtime, using the correct value
for ENOENT (closes: #4733).

13 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Fri, 16 Dec 2011 22:50:54 +0000 (17:50 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

13 years agoMerge remote-tracking branch 'sebastian/clang-3.0-fixes_022' into maint-0.2.2
Nick Mathewson [Fri, 16 Dec 2011 22:49:41 +0000 (17:49 -0500)] 
Merge remote-tracking branch 'sebastian/clang-3.0-fixes_022' into maint-0.2.2

13 years agoMerge remote-tracking branch 'sebastian/clang-3.0-fixes_master'
Nick Mathewson [Fri, 16 Dec 2011 22:48:25 +0000 (17:48 -0500)] 
Merge remote-tracking branch 'sebastian/clang-3.0-fixes_master'

13 years agoput the stable changelogs into master too
Roger Dingledine [Fri, 16 Dec 2011 17:52:58 +0000 (12:52 -0500)] 
put the stable changelogs into master too

13 years agoretroactively reformat a little bit
Roger Dingledine [Fri, 16 Dec 2011 17:27:38 +0000 (12:27 -0500)] 
retroactively reformat a little bit

13 years agoIncrement version in master to 0.2.3.10-alpha-dev
Nick Mathewson [Fri, 16 Dec 2011 17:09:42 +0000 (12:09 -0500)] 
Increment version in master to 0.2.3.10-alpha-dev

13 years agoDoxygenize the file-level documentation of transports.c.
George Kadianakis [Fri, 16 Dec 2011 10:01:56 +0000 (11:01 +0100)] 
Doxygenize the file-level documentation of transports.c.

13 years agoBump version to Tor 0.2.3.10-alpha tor-0.2.3.10-alpha
Nick Mathewson [Thu, 15 Dec 2011 17:04:52 +0000 (12:04 -0500)] 
Bump version to Tor 0.2.3.10-alpha

13 years agoChangelog and blurb for 0.2.3.10-alpha
Nick Mathewson [Thu, 15 Dec 2011 16:59:09 +0000 (11:59 -0500)] 
Changelog and blurb for 0.2.3.10-alpha

13 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Thu, 15 Dec 2011 16:32:49 +0000 (11:32 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

13 years agoMerge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Thu, 15 Dec 2011 16:28:44 +0000 (11:28 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2

13 years agoAdd a fix for the buf_pullup bug that Vektor reported
Nick Mathewson [Wed, 14 Dec 2011 21:38:43 +0000 (16:38 -0500)] 
Add a fix for the buf_pullup bug that Vektor reported

13 years agoStart a section for the 0.2.3.10-alpha changelog
Nick Mathewson [Wed, 14 Dec 2011 21:03:58 +0000 (16:03 -0500)] 
Start a section for the 0.2.3.10-alpha changelog

13 years agoBuild with warnings and clang 3.0
Sebastian Hahn [Mon, 12 Dec 2011 14:36:08 +0000 (15:36 +0100)] 
Build with warnings and clang 3.0

--enable-gcc-warnings enables two warnings that clang doesn't support,
so the build fails. We had hoped clang 3.0 would add those, but it
didn't, so let's just always disable those warnings when building with
clang. We can still fix it later once they add support

13 years agoDon't crash on startup of a dormant relay
Robert Ransom [Mon, 12 Dec 2011 19:25:55 +0000 (11:25 -0800)] 
Don't crash on startup of a dormant relay

If a relay is dormant at startup, it will call init_keys before
crypto_set_tls_dh_prime.  This is bad.  Let's make it not so bad, because
someday it *will* happen again.

14 years agoFix compilation of natpmp-helper on non-windows
Sebastian Hahn [Sat, 10 Dec 2011 02:25:40 +0000 (03:25 +0100)] 
Fix compilation of natpmp-helper on non-windows

Fixes a small oversight in 5dbfb1b3e0efc95be34ba7d69852511c9bac1f4b.

14 years agoMerge branch 'bug4655-squashed'
Nick Mathewson [Fri, 9 Dec 2011 16:29:03 +0000 (11:29 -0500)] 
Merge branch 'bug4655-squashed'

14 years agoRemove comment complaining that we try to attach all streams to circs
Robert Ransom [Wed, 7 Dec 2011 03:24:55 +0000 (19:24 -0800)] 
Remove comment complaining that we try to attach all streams to circs

It's inefficient, but the more efficient solution (only try to attach
streams aiming for this HS) would require far more complexity for a gain
that should be tiny.

14 years agoClear stream-isolation state on rend circs if needed to attach streams
Robert Ransom [Tue, 6 Dec 2011 13:02:58 +0000 (05:02 -0800)] 
Clear stream-isolation state on rend circs if needed to attach streams

Fixes bug 4655; bugfix on 0.2.3.3-alpha.

14 years agoRefactor stream attachment in circuit_has_opened
Robert Ransom [Tue, 6 Dec 2011 11:46:02 +0000 (03:46 -0800)] 
Refactor stream attachment in circuit_has_opened

Put the 'try attaching streams, clear isolation state if possible, retry
attaching streams' loop in its own separate function, where it belongs.

14 years agobump to 0.2.3.9-alpha-dev
Roger Dingledine [Thu, 8 Dec 2011 21:25:36 +0000 (16:25 -0500)] 
bump to 0.2.3.9-alpha-dev

14 years agogive 0.2.3.9-alpha a blurb tor-0.2.3.9-alpha
Roger Dingledine [Thu, 8 Dec 2011 20:52:36 +0000 (15:52 -0500)] 
give 0.2.3.9-alpha a blurb

14 years agobump to 0.2.3.9-alpha
Roger Dingledine [Thu, 8 Dec 2011 09:53:12 +0000 (04:53 -0500)] 
bump to 0.2.3.9-alpha

14 years agoMerge remote-tracking branch 'sebastian/bug4672'
Roger Dingledine [Thu, 8 Dec 2011 09:45:59 +0000 (04:45 -0500)] 
Merge remote-tracking branch 'sebastian/bug4672'

14 years agopaint bug2474's fix a different neon color
Roger Dingledine [Thu, 8 Dec 2011 09:41:56 +0000 (04:41 -0500)] 
paint bug2474's fix a different neon color

this way people with 80-column logs may read more of the warning

14 years agoMerge branch 'maint-0.2.2'
Roger Dingledine [Thu, 8 Dec 2011 09:40:30 +0000 (04:40 -0500)] 
Merge branch 'maint-0.2.2'

14 years agoMerge branch 'maint-0.2.1' into maint-0.2.2
Roger Dingledine [Thu, 8 Dec 2011 09:40:15 +0000 (04:40 -0500)] 
Merge branch 'maint-0.2.1' into maint-0.2.2

14 years agofold in changes files
Roger Dingledine [Thu, 8 Dec 2011 09:38:37 +0000 (04:38 -0500)] 
fold in changes files

14 years agoUpdate to the December 2011 GeoIP database.
Karsten Loesing [Thu, 8 Dec 2011 08:55:44 +0000 (09:55 +0100)] 
Update to the December 2011 GeoIP database.

14 years agoSome more check-spaces stuff
Sebastian Hahn [Thu, 8 Dec 2011 07:47:09 +0000 (08:47 +0100)] 
Some more check-spaces stuff

This re-applies a check-spaces fix that was part of
7920ea55b8d994268d2b07f27316b0f34d8f27e5 and got reverted along with the
rest of that commit in df1f72329acf5f555618a5309f2621e584c0d763.

14 years agoindent; add comment
Nick Mathewson [Sun, 27 Nov 2011 14:24:41 +0000 (09:24 -0500)] 
indent; add comment

This re-applies 40a87c4c08be0cdd87a3df283f285b3c2a0c8445 which got
accidentally reverted in 75134c6c86e54c10fd9e11c4345aadcdabc0f8fb.
Thanks asn for spotting this.

14 years agoappease check-spaces
Sebastian Hahn [Thu, 24 Nov 2011 08:20:51 +0000 (09:20 +0100)] 
appease check-spaces

This re-applies f77f9bddb8bf0dd6e9c3e0d94269aa23f459a272 which got
accidentally reverted in 53f535aeb863204470379b2da4631770fa10b13f.
Thanks asn for spotting this.

14 years agoRemove 4312 from the changelog.
Nick Mathewson [Thu, 8 Dec 2011 02:10:32 +0000 (21:10 -0500)] 
Remove 4312 from the changelog.

14 years agoMerge remote-tracking branch 'public/revert_4312'
Nick Mathewson [Thu, 8 Dec 2011 02:12:20 +0000 (21:12 -0500)] 
Merge remote-tracking branch 'public/revert_4312'

14 years agoclarify a debug line
Roger Dingledine [Wed, 7 Dec 2011 23:12:11 +0000 (18:12 -0500)] 
clarify a debug line

14 years agoAdd changes file for feature2553
Robert Ransom [Wed, 7 Dec 2011 12:44:13 +0000 (04:44 -0800)] 
Add changes file for feature2553

14 years agoRevert "Refactor the SSL_set_info_callback() callbacks."
Nick Mathewson [Wed, 7 Dec 2011 00:49:21 +0000 (19:49 -0500)] 
Revert "Refactor the SSL_set_info_callback() callbacks."

This reverts commit 69a821ea1c9357acdd5aa1c9e23fd030b01cb5a9.

14 years agoRevert "Detect renegotiation when it actually happens."
Nick Mathewson [Wed, 7 Dec 2011 00:49:21 +0000 (19:49 -0500)] 
Revert "Detect renegotiation when it actually happens."

This reverts commit 4fd79f9def28996552b5739792f428c2514de1f6.

14 years agoRevert "Detect and deny excess renegotiations attempts."
Nick Mathewson [Wed, 7 Dec 2011 00:49:21 +0000 (19:49 -0500)] 
Revert "Detect and deny excess renegotiations attempts."

This reverts commit ecd239e3b577705e0669d47293a2e755cf93cec0.

14 years agoRevert "Get rid of tor_tls_block_renegotiation()."
Nick Mathewson [Wed, 7 Dec 2011 00:49:21 +0000 (19:49 -0500)] 
Revert "Get rid of tor_tls_block_renegotiation()."

This reverts commit 340809dd224b244675496e301d3ba154a6fe68d0.

14 years agoRevert "Also handle needless renegotiations in SSL_write()."
Nick Mathewson [Wed, 7 Dec 2011 00:49:20 +0000 (19:49 -0500)] 
Revert "Also handle needless renegotiations in SSL_write()."

This reverts commit e2b3527106e0747f652e2f28fa087d9874e0e2ce.

14 years agoRevert "Fix issues pointed out by nickm."
Nick Mathewson [Wed, 7 Dec 2011 00:49:20 +0000 (19:49 -0500)] 
Revert "Fix issues pointed out by nickm."

This reverts commit e097bffaed72af6b19f7293722021196bb94de1e.

14 years agoRevert "Use callback-driven approach to block renegotiations."
Nick Mathewson [Wed, 7 Dec 2011 00:49:20 +0000 (19:49 -0500)] 
Revert "Use callback-driven approach to block renegotiations."

This reverts commit 406ae1ba5ad529a4d0e710229dab6ed645d42b50.

14 years agoRevert "appease check-spaces"
Nick Mathewson [Wed, 7 Dec 2011 00:49:20 +0000 (19:49 -0500)] 
Revert "appease check-spaces"

This reverts commit f77f9bddb8bf0dd6e9c3e0d94269aa23f459a272.

14 years agoRevert "Refactor tor_event_base_once to do what we actually want"
Nick Mathewson [Wed, 7 Dec 2011 00:49:20 +0000 (19:49 -0500)] 
Revert "Refactor tor_event_base_once to do what we actually want"

This reverts commit 7920ea55b8d994268d2b07f27316b0f34d8f27e5.

14 years agoRevert "Avoid a double-mark in connection_or_close_connection_cb"
Nick Mathewson [Wed, 7 Dec 2011 00:49:20 +0000 (19:49 -0500)] 
Revert "Avoid a double-mark in connection_or_close_connection_cb"

This reverts commit 633071eb3bcf2c4106e93de28d727594bd23b1db.

14 years agoRevert "Fix some wide lines in tortls.c"
Nick Mathewson [Wed, 7 Dec 2011 00:49:20 +0000 (19:49 -0500)] 
Revert "Fix some wide lines in tortls.c"

This reverts commit e8dde3aabd3e1292d381eb4269c6457548dca6b9.

14 years agoRevert "use event_free() wrapper; fix bug 4582"
Nick Mathewson [Wed, 7 Dec 2011 00:49:20 +0000 (19:49 -0500)] 
Revert "use event_free() wrapper; fix bug 4582"

This reverts commit 9a88c0cd32df53116a6bbb6b961650943755061c.

14 years agoRevert "Don't schedule excess_renegotiations_callback unless it's set"
Nick Mathewson [Wed, 7 Dec 2011 00:49:20 +0000 (19:49 -0500)] 
Revert "Don't schedule excess_renegotiations_callback unless it's set"

This reverts commit 617617e21a2d30a86cea9c8f7043333078f2e8f8.

14 years agoRevert "indent; add comment"
Nick Mathewson [Wed, 7 Dec 2011 00:49:20 +0000 (19:49 -0500)] 
Revert "indent; add comment"

This reverts commit 40a87c4c08be0cdd87a3df283f285b3c2a0c8445.

14 years agoRevert "Make pending libevent actions cancelable"
Nick Mathewson [Wed, 7 Dec 2011 00:49:20 +0000 (19:49 -0500)] 
Revert "Make pending libevent actions cancelable"

This reverts commit aba25a6939a5907d40dbcff7433a8c130ffd12ad.

14 years agoRevert "Set renegotiation callbacks immediately on tls inititation"
Nick Mathewson [Wed, 7 Dec 2011 00:49:19 +0000 (19:49 -0500)] 
Revert "Set renegotiation callbacks immediately on tls inititation"

This reverts commit e27a26d568a257cf350814a9abfa47d3b41ad9f3.

14 years agoMerge remote-tracking branch 'sebastian/coverity'
Nick Mathewson [Mon, 5 Dec 2011 16:56:03 +0000 (11:56 -0500)] 
Merge remote-tracking branch 'sebastian/coverity'

14 years agoAdd comment about bug4651 fix
Nick Mathewson [Mon, 5 Dec 2011 16:29:43 +0000 (11:29 -0500)] 
Add comment about bug4651 fix

14 years agocid 432: Remove dead code if we don't handle a consensus
Sebastian Hahn [Fri, 2 Dec 2011 15:35:45 +0000 (16:35 +0100)] 
cid 432: Remove dead code if we don't handle a consensus

Bugfix on 0.2.3.1, fixes the second half of bug 4637.

14 years agoDon't send two ESTABLISH_RENDEZVOUS cells when opening a new rend circ
Robert Ransom [Sun, 4 Dec 2011 06:06:50 +0000 (22:06 -0800)] 
Don't send two ESTABLISH_RENDEZVOUS cells when opening a new rend circ

14 years agoDon't just tell the controller "foo" on id mismatch
Nick Mathewson [Fri, 2 Dec 2011 21:27:33 +0000 (16:27 -0500)] 
Don't just tell the controller "foo" on id mismatch

Fixes bug 4169; bugfix on 0.2.1.1-alpha.

14 years agoInit conn->addr to "unspec" on cpuworker connections
Nick Mathewson [Fri, 2 Dec 2011 21:21:50 +0000 (16:21 -0500)] 
Init conn->addr to "unspec" on cpuworker connections

Fixes bug 4532 reported by "troll_un"

14 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Fri, 2 Dec 2011 21:17:52 +0000 (16:17 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

Conflicts:
src/or/connection_or.c

The conflict in src/or/connection_or.c is resolved by taking the
version in master, since e27a26d5 already fixed bug 4531 on master.
This merge just adds the changes file from 0.2.2.

14 years agoDon't call tor_tls_set_logged_address till after checking conn->tls
Nick Mathewson [Fri, 2 Dec 2011 21:15:52 +0000 (16:15 -0500)] 
Don't call tor_tls_set_logged_address till after checking conn->tls

Fixes bug 4531; partial backport of e27a26d5.

14 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Fri, 2 Dec 2011 21:10:17 +0000 (16:10 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

14 years agotor_accept_socket() should take tor_addr_t for listener arg
Nick Mathewson [Fri, 2 Dec 2011 21:09:16 +0000 (16:09 -0500)] 
tor_accept_socket() should take tor_addr_t for listener arg

Fixes bug 4535; bugfix on 0.2.2.28-beta; found by "troll_un"

14 years agoGive DirAllowPrivateAddress an explicit default
Nick Mathewson [Fri, 2 Dec 2011 21:04:18 +0000 (16:04 -0500)] 
Give DirAllowPrivateAddress an explicit default

By convention, we say whether each bool's default is 0 or 1

Fixes 4536; found by "troll_un"

14 years agoResolve bug 3448: remove mention of tor-ops (which is not in use)
Nick Mathewson [Fri, 2 Dec 2011 20:42:15 +0000 (15:42 -0500)] 
Resolve bug 3448: remove mention of tor-ops (which is not in use)

14 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Fri, 2 Dec 2011 20:38:29 +0000 (15:38 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

14 years agoFix bug 4530; check return val of tor_addr_lookup correctly
Nick Mathewson [Fri, 2 Dec 2011 20:37:24 +0000 (15:37 -0500)] 
Fix bug 4530; check return val of tor_addr_lookup correctly

Fix on 0.2.1.5-alpha; reported by troll_un

14 years agoMerge remote-tracking branch 'sebastian/coverity_strlen_fp'
Nick Mathewson [Fri, 2 Dec 2011 05:24:33 +0000 (00:24 -0500)] 
Merge remote-tracking branch 'sebastian/coverity_strlen_fp'

14 years agoWork around a false positive in Coverity.
Sebastian Hahn [Fri, 2 Dec 2011 05:15:31 +0000 (06:15 +0100)] 
Work around a false positive in Coverity.

Fixes cid 501 and 502.

14 years agoAppease check-spaces
Sebastian Hahn [Fri, 2 Dec 2011 05:16:47 +0000 (06:16 +0100)] 
Appease check-spaces

14 years agoDon't segfault when checking whether a not-yet-used intro point should expire
Robert Ransom [Thu, 1 Dec 2011 23:26:45 +0000 (15:26 -0800)] 
Don't segfault when checking whether a not-yet-used intro point should expire

Found by katmagic.  Bugfix on the #3460 branch, not yet in any release.

14 years agoFix warnings.
Linus Nordberg [Thu, 1 Dec 2011 08:40:47 +0000 (09:40 +0100)] 
Fix warnings.

Remove environ declaration.
Use ORPort->value.  And it's a string.
Make tmp a char *.

14 years agoAdd an initializer to appease older gcc
Nick Mathewson [Wed, 30 Nov 2011 23:08:07 +0000 (18:08 -0500)] 
Add an initializer to appease older gcc

14 years agoOnly define set_buffer_lengths_to_zero if bufferevents are enabled
Murdoch@cl.cam.ac.uk [Wed, 30 Nov 2011 20:14:46 +0000 (20:14 +0000)] 
Only define set_buffer_lengths_to_zero if bufferevents are enabled

Otherwise, on Windows, gcc will warn about the function being unused

14 years agoMerge remote-tracking branch 'sjmurdoch/bug1983-port-tor-fw-helper-to-windows'
Nick Mathewson [Wed, 30 Nov 2011 22:51:01 +0000 (17:51 -0500)] 
Merge remote-tracking branch 'sjmurdoch/bug1983-port-tor-fw-helper-to-windows'

14 years agoMake file descriptor type an unsigned integer
Steven Murdoch [Wed, 30 Nov 2011 20:41:27 +0000 (20:41 +0000)] 
Make file descriptor type an unsigned integer

This avoids a warning from gcc (comparison between signed and unsigned
integer expressions [-Werror=sign-compare]), under Windows

14 years agoMerge branch 'feature2553-v4-rebased'
Nick Mathewson [Wed, 30 Nov 2011 19:54:33 +0000 (14:54 -0500)] 
Merge branch 'feature2553-v4-rebased'

14 years agoAdd some more documentation
Arturo Filastò [Thu, 24 Nov 2011 09:28:38 +0000 (10:28 +0100)] 
Add some more documentation