aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | | whitespace fixNick Mathewson2014-05-01
| | | | |
* | | | | Merge remote-tracking branch 'public/valgrind_tests'Nick Mathewson2014-05-01
|\ \ \ \ \
| * | | | | Fix leaks in tests related to setting options->DataDirectoryNick Mathewson2014-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We pre-populate that value in main(), and we weren't freeing it before overriding it.
| * | | | | Fix memory leaks in test_status.cNick Mathewson2014-04-29
| | | | | |
| * | | | | Fix leaks in dir voting testsNick Mathewson2014-04-29
| | | | | |
| * | | | | Fix leaks in test_oom.cNick Mathewson2014-04-26
| | | | | |
| * | | | | Fix leaks in test_dir_formatsNick Mathewson2014-04-26
| | | | | |
| * | | | | Fix numerous leaks in test_pt.cNick Mathewson2014-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I didn't find a managed_proxy_free() function any place; shouldn't there be one?
| * | | | | test_cntev_append_cell_stats now no longer leaksNick Mathewson2014-04-26
| | | | | |
| * | | | | Fix leaks in test_exit_policy_dump_to_stringNick Mathewson2014-04-26
| | | | | |
| * | | | | Memory leaks in test_config_addressmapNick Mathewson2014-04-26
| | | | | |
| * | | | | Fix a leak in test_buffer_allocation_trackingNick Mathewson2014-04-26
| | | | | |
| * | | | | Fix memory leak in unittest helper function.Nick Mathewson2014-04-26
| | | | | |
| * | | | | Fix memory leak in test_util_asprintfNick Mathewson2014-04-26
| | | | | |
| * | | | | Fix memory leaks in test_cntev_append_cell_statsNick Mathewson2014-04-26
| | | | | |
| * | | | | fix uninitialized memory reads from test_geoip_with_pt. Found with valgrindNick Mathewson2014-04-26
| | | | | |
| * | | | | Fix memory leak in test_geoipNick Mathewson2014-04-26
| | | | | |
| * | | | | Fix memory leak in test_onion_queuesNick Mathewson2014-04-26
| | | | | |
| * | | | | Fix memory leaks in test_circuit_timeoutNick Mathewson2014-04-26
| | | | | | | | | | | | | | | | | | | | | | | | Found with valgrind.
* | | | | | Merge remote-tracking branch 'public/bug4345a_024'Nick Mathewson2014-05-01
|\ \ \ \ \ \
| * | | | | | More hacking around spawn_func issuesNick Mathewson2014-02-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This time, we use a pthread_attr to make sure that if pthread_create succeeds, the thread is successfully detached. This probably isn't the big thing going on with 4345, since it'd be a bit weird for pthread_detach to be failing. But it's worth getting it right.
| * | | | | | Check spawn_func() return valueNick Mathewson2014-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we don't, we can wind up with a wedged cpuworker, and write to it for ages and ages. Found by skruffy. This was a bug in 2dda97e8fd898757, a.k.a. svn revision 402. It's been there since we have been using cpuworkers.
* | | | | | | Merge remote-tracking branch 'public/bug10849_025'Nick Mathewson2014-05-01
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/config.c
| * | | | | | | Remove TunnelDirConns and PreferTunnelledDirConnsNick Mathewson2014-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These options were added back in 0.1.2.5-alpha, but no longer make any sense now that all directories support tunneled connections and BEGIN_DIR cells. These options were on by default; now they are always-on. This is a fix for 10849, where TunnelDirConns 0 would break hidden services -- and that bug arrived, I think, in 0.2.0.10-alpha.
* | | | | | | | Merge remote-tracking branch 'andrea/bug11476'Nick Mathewson2014-05-01
|\ \ \ \ \ \ \ \
| * | | | | | | | Make --disable-buf-freelists build and pass unit testsAndrea Shepard2014-04-29
| | | | | | | | |
* | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2014-04-30
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / |/| | | | | | | |
| * | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson2014-04-30
| |\ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ Merge remote-tracking branch 'public/bug10849_023_bruteforce' into maint-0.2.3Nick Mathewson2014-04-30
| | |\ \ \ \ \ \ \ \
| | | * | | | | | | | Forbid TunneledDirConns 0 and PreferTunneledDirConns 0 if being a HSNick Mathewson2014-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 10849; bugfix on 0.2.1.1-alpha (I believe)
| * | | | | | | | | | Drop the MaxMemInCellQueues lower limit down to 256 MB.Nick Mathewson2014-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on #9686, gmorehose reports that the 500 MB lower limit is too high for raspberry pi users. This is a backport of 647248729fa65f0e51d062e2af8f4e8b38592bf5 to 0.2.4. Note that in 0.2.4, the option is called MaxMemInCellQueues.
* | | | | | | | | | | Merge remote-tracking branch 'public/bug11605_024'Nick Mathewson2014-04-29
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | |
| * | | | | | | | | | Make compilation of tor_memdup_nulterm() with dmallocNick Mathewson2014-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 11605; bugfix on 0.2.4.10-alpha.
* | | | | | | | | | | Quench gcc's complaints about discarding constness in TO_ORIGIN_CIRCUIT.dana koch2014-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was previously satisfied by using a temporary variable, but there are three other instances in circuitlist.c that gcc is now bothered by, so now introduce a CONST_TO_ORIGIN_CIRCUIT that takes a const circuit_t instead.
* | | | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2014-04-29
|\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |/| | | / / / / / / | |_|_|_|/ / / / / / |/| | | | | | | | |
| * | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson2014-04-29
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| / / / / / / / | | |/ / / / / / /
| | * | | | | | | Stop leaking memory in error cases of md parsingNick Mathewson2014-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When clearing a list of tokens, it's important to do token_clear() on them first, or else any keys they contain will leak. This didn't leak memory on any of the successful microdescriptor parsing paths, but it does leak on some failing paths when the failure happens during tokenization. Fixes bug 11618; bugfix on 0.2.2.6-alpha.
| * | | | | | | | Merge remote-tracking branch 'public/bug9229_024' into maint-0.2.4Nick Mathewson2014-04-23
| |\ \ \ \ \ \ \ \
| | * | | | | | | | Update ns downloads when we receive a bridge descriptorNick Mathewson2014-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents long stalls when we're starting with a state file but with no bridge descriptors. Fixes bug 9229. I believe this bug has been present since 0.2.0.3-alpha.
* | | | | | | | | | Merge remote-tracking branch 'public/bug11608'Nick Mathewson2014-04-28
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Make the python test scripts work on python3Nick Mathewson2014-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The python scripts invoked by 'make check' didn't work on python3 before. That was a problem on systems where 'python' is python3. Fixes bug 11608; bugfix on 0.2.5.2-alpha.
* | | | | | | | | | | Fix capitalization of MaxMemInQueuesNick Mathewson2014-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This won't affect anybody's configuration, but it makes it match what we documented. Fixes part of 11634.
* | | | | | | | | | | Actually put ExtORPortCookieAuthFile into config.cNick Mathewson2014-04-28
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 11635; bugfix on 0.2.5.1-alpha.
* | | | | | | / / / Bump version to 0.2.5.4-alpha-devNick Mathewson2014-04-25
| |_|_|_|_|_|/ / / |/| | | | | | | |
* | | | | | | | | resolve a typo: sanboxing->sandboxing.Nick Mathewson2014-04-25
| | | | | | | | |
* | | | | | | | | Bump version to 0.2.5.4-alpha.Nick Mathewson2014-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Probably releasing within ~22 hours, pending testing
* | | | | | | | | fix memory leak in dump_exit_policy_to_string testsNick Mathewson2014-04-25
| | | | | | | | |
* | | | | | | | | Merge branch 'scanbuild_fixes'Nick Mathewson2014-04-25
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | scan-build: memarea_strndup() undefined behaviorNick Mathewson2014-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The memarea_strndup() function would have hit undefined behavior by creating an 'end' pointer off the end of a string if it had ever been given an 'n' argument bigger than the length of the memory ares that it's scanning. Fortunately, we never did that except in the unit tests. But it's not a safe behavior to leave lying around.
| * | | | | | | | | scan-build: avoid undef behaior in tor_inet_ptonNick Mathewson2014-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we had an address of the form "1.2.3.4" and we tried to pass it to tor_inet_pton with AF_INET6, it was possible for our 'eow' pointer to briefly move backwards to the point before the start of the string, before we moved it right back to the start of the string. C doesn't allow that, and though we haven't yet hit a compiler that decided to nuke us in response, it's best to fix. So, be more explicit about requiring there to be a : before any IPv4 address part of the IPv6 address. We would have rejected addresses without a : for not being IPv6 later on anyway.