| Commit message (Collapse) | Author | Age |
... | |
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\|
| |
| |
| |
| |
| | |
Conflicts:
src/common/test.h
src/or/test.c
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix a dereference-then-NULL-check sequence. This bug wasn't triggered
in the wild, but we should fix it anyways in case it ever happens.
Also make sure users get a note about this being a bug when they
see it in their log.
Thanks to ekir for discovering and reporting this bug.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix a dereference-then-NULL-check sequence. This bug wasn't triggered
in the wild, but we should fix it anyways in case it ever happens.
Also make sure users get a note about this being a bug when they
see it in their log.
Thanks to ekir for discovering and reporting this bug.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The HSAuthorityRecordStats option was used to track statistics of overall
hidden service usage on the version 0 hidden service authorities. With the
version 2 hidden service directories being deployed and version 0
descriptors being phased out, these statistics are not as useful anymore.
Goodbye, you fine piece of software; my first major code contribution to
Tor.
|
|\ \
| | |
| | |
| | |
| | | |
Conflicts:
ChangeLog
|
| | |
| | |
| | |
| | |
| | |
| | | |
The new rule is: safe_str_X() means "this string is a piece of X
information; make it safe to log." safe_str() on its own means
"this string is a piece of who-knows-what; make it safe to log".
|
| | | |
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Some *_free functions threw asserts when passed NULL. Now all of them
accept NULL as input and perform no action when called that way.
This gains us consistence for our free functions, and allows some
code simplifications where an explicit null check is no longer necessary.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In C, the code "char x[10]; if (x) {...}" always takes the true branch of
the if statement. Coverity notices this now.
In some cases, we were testing arrays to make sure that an operation
we wanted to do would suceed. Those cases are now always-true.
In some cases, we were testing arrays to see if something was _set_.
Those caes are now tests for strlen(s), or tests for
!tor_mem_is_zero(d,len).
|
| | |
|
| |
| |
| |
| |
| | |
Fix refetching of hidden service descriptors when all introduction points
have turned out to not work.
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
| |
The subversion $Id$ fields made every commit force a rebuild of
whatever file got committed. They were not actually useful for
telling the version of Tor files in the wild.
svn:r17867
|
|
|
|
|
|
|
|
|
|
| |
use the same download mechanism as other places.
i had to make an ugly hack around "IMPOSSIBLE_TO_DOWNLOAD+1".
we should unhack that sometime.
svn:r17834
|
|
|
|
|
|
| |
strlcpy in rend descriptor encoding.
svn:r17818
|
|
|
|
|
|
| |
function to use the "goto err" idiom.
svn:r17665
|
|
|
|
| |
svn:r17164
|
|
|
|
|
|
| |
446. Based on patch from rovv.
svn:r17162
|
|
|
|
|
|
|
|
| |
equivalent: I got a lonely "Failed to fetch rendezvous descriptor."
in my log file, even when the connection worked.
svn:r17028
|
|
|
|
|
|
| |
should definitely re-review the bits I changed.
svn:r16955
|
|
|
|
|
|
| |
easier to free memory on failing tests, in order to suppress scanner warnings and to make dmalloc() usable with tests.
svn:r16816
|
|
|
|
| |
svn:r16808
|
|
|
|
|
|
| |
almost inevitable.
svn:r16779
|
|
|
|
| |
svn:r16604
|
|
|
|
| |
svn:r16599
|
|
|
|
| |
svn:r16598
|
|
|
|
|
|
|
| |
Initial conversion of uint32_t addr to tor_addr_t addr in connection_t and related types. Most of the Tor wire formats using these new types are in, but the code to generate and use it is not. This is a big patch. Let me know what it breaks for you.
svn:r16435
|
|
|
|
|
|
|
| |
Make generic address manipulation functions work better. Switch address policy code to use tor_addr_t, so it can handle IPv6. That is a good place to start.
svn:r16178
|
|
|
|
| |
svn:r13605
|
|
|
|
|
|
|
| |
should probably be fixed better somehow.
svn:r13604
|
|
|
|
| |
svn:r13603
|
|
|
|
|
|
|
| |
Patch from karsten: make hidden service code respect SafeLogging.
svn:r13493
|
|
|
|
| |
svn:r13412
|
|
|
|
|
|
|
| |
if we have a perfectly good v0 renddesc.
svn:r13265
|
|
|
|
|
|
|
| |
its hsdir status
svn:r13037
|
|
|
|
| |
svn:r12900
|
|
|
|
| |
svn:r12826
|
|
|
|
| |
svn:r12825
|