Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Merge remote-tracking branch 'andrea/bug11476' | Nick Mathewson | 2014-05-22 |
|\ | |||
| * | Add --disable-mempools configure option | Andrea Shepard | 2014-05-12 |
| | | |||
* | | Quench clang's complaints with -Wshorten-64-to-32 when time_t is not long. | dana koch | 2014-05-11 |
| | | | | | | | | | | | | On OpenBSD 5.4, time_t is a 32-bit integer. These instances contain implicit treatment of long and time_t as comparable types, so explicitly cast to time_t. | ||
* | | One more 64->32 | Nick Mathewson | 2014-05-08 |
| | | |||
* | | Fix numerous 64->32 errors in the unit tests | Nick Mathewson | 2014-05-08 |
| | | | | | | | | Before the 11825 fix, these were all silently ignored. | ||
* | | Fix unearthed problems in unit tests | Nick Mathewson | 2014-05-08 |
| | | |||
* | | Fix test_util_max_mem on 32-bit CPUs | Nick Mathewson | 2014-05-08 |
| | | |||
* | | Fix memory leak in unittest helper function. | Nick Mathewson | 2014-04-26 |
| | | |||
* | | Fix memory leak in test_util_asprintf | Nick Mathewson | 2014-04-26 |
|/ | |||
* | Merge branch 'bug11396_v2_squashed' | Nick Mathewson | 2014-04-24 |
|\ | | | | | | | | | Conflicts: src/or/main.c | ||
| * | get_total_system_memory(): see how much RAM we have | Nick Mathewson | 2014-04-24 |
| | | |||
* | | Fix some harmless/untriggerable memory leaks found by coverity | Nick Mathewson | 2014-04-07 |
| | | |||
* | | Merge remote-tracking branch 'public/bug10363_024_squashed' | Nick Mathewson | 2014-04-07 |
|\ \ | |/ |/| | |||
| * | Another 10363 instance: this one in tor_memmem fallback code | Nick Mathewson | 2014-04-07 |
| | | |||
* | | Check return values for tor_munmap_file() in unit tests | Nick Mathewson | 2014-03-31 |
| | | |||
* | | Coverate in util.c: test that tor_parse_* rejects negative base. | Nick Mathewson | 2014-01-17 |
| | | |||
* | | Remove needless fd var from test. CID 1130989. | Nick Mathewson | 2013-11-22 |
| | | |||
* | | Merge branch 'backtrace_squashed' | Nick Mathewson | 2013-11-18 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/common/sandbox.c src/common/sandbox.h src/common/util.c src/or/main.c src/test/include.am src/test/test.c | ||
| * | | Add a signal-safe decimal formatting function | Nick Mathewson | 2013-07-19 |
| | | | |||
* | | | Merge branch 'bug1376' | Nick Mathewson | 2013-10-11 |
|\ \ \ | |||
| * | | | Fix some whitespace; tighten the tests. | Nick Mathewson | 2013-10-11 |
| | | | | |||
| * | | | Added test for new write_chunks_to_file behaviour in #1376. | Kevin Butler | 2013-09-04 |
| | | | | |||
* | | | | Merge remote-tracking branch 'origin/maint-0.2.4' | Nick Mathewson | 2013-10-10 |
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | |||
| * | | Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4 | Nick Mathewson | 2013-10-10 |
| |\ \ | |||
| | * | | Fix unit test for format_helper_exit_status | Nick Mathewson | 2013-10-10 |
| | | | | | | | | | | | | | | | | | | | | Fix format_helper_exit_status to allow full HEX_ERRNO_SIZE answers, *and* increase the buffer length again. | ||
* | | | | Try to make the win32 ersatz_socketpair pass. | Nick Mathewson | 2013-08-02 |
| | | | | |||
* | | | | Unit test for tor_{ersatz_,}socketpair. | Nick Mathewson | 2013-08-02 |
| | | | | | | | | | | | | | | | | This catches tor_accept as well. | ||
* | | | | Simple unit test for tor_open_socket_with_extensions | Nick Mathewson | 2013-08-02 |
| |_|/ |/| | | |||
* | | | Rename tor_escape_str_for_socks_arg() to something more generic. | George Kadianakis | 2013-07-18 |
| | | | | | | | | | | | | | | | Since we are going to be using that function to also escape parameters passed to transport proxies using environment variables. | ||
* | | | Pass characters to be escaped to tor_escape_str_for_socks_arg(). | George Kadianakis | 2013-07-18 |
| | | | | | | | | | | | | | | | This is in preparation for using tor_escape_str_for_socks_arg() to escape server-side pluggable transport parameters. | ||
* | | | Lightly refactor and test format_hex_number_sigsafe | Nick Mathewson | 2013-07-15 |
| | | | | | | | | | | | | | | | | | | | | | | | | Better tests for upper bounds, and for failing cases. Also, change the function's interface to take a buffer length rather than a maximum length, and then NUL-terminate: functions that don't NUL-terminate are trouble waiting to happen. | ||
* | | | HEX_ERRNO_SIZE is no longer the correct upper limit for ↵ | Nick Mathewson | 2013-07-15 |
| | | | | | | | | | | | | format_hex_number_sigsafe | ||
* | | | Expose format_hex_number_..., and rename it to ..._sigsafe(). | Nick Mathewson | 2013-07-15 |
| | | | | | | | | | | | | | | | There are some other places in the code that will want a signal-safe way to format numbers, so it shouldn't be static to util.c. | ||
* | | | Don't build format_helper_exit_status on win32 | Nick Mathewson | 2013-07-15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The only thing that used format_helper_exit_status on win32 was the unit tests. This caused an error when we tried to leave a static format_helper_exit_status lying around in a production object file. The easiest solution is to admit that this way of dealing with process exit status is Unix-only. | ||
* | | | Remove strcpy from unit tests. | Arlo Breault | 2013-05-11 |
| | | | | | | | | | | | | See #8790. | ||
* | | | Merge remote-tracking branch 'origin/maint-0.2.4' | Nick Mathewson | 2013-03-22 |
|\| | | |||
| * | | Fix an uninitialized-var warning in unit tests | Nick Mathewson | 2013-03-22 |
| | | | | | | | | | | | | Found by formorer; fix on 42fb61d172b172, not in any released Tor. | ||
* | | | Merge remote-tracking branch 'origin/maint-0.2.4' | Nick Mathewson | 2013-03-21 |
|\| | | |||
| * | | Fix a small memory leak in the unit tests | Nick Mathewson | 2013-03-21 |
| | | | | | | | | | | | | Found by coverity; this is CID 992692. | ||
* | | | Merge remote-tracking branch 'asn/bug3594_rebased_and_fixed' | Nick Mathewson | 2013-03-19 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/common/util.c src/or/entrynodes.h | ||
| * | | | Refactoring to make parse_bridge_line() unittestable. | George Kadianakis | 2013-02-11 |
| | | | | | | | | | | | | | | | | | | | | | | | | - Make parse_bridge_line() return a struct. - Make bridge_add_from_config() accept a struct. - Make string_is_key_value() less hysterical. | ||
| * | | | Fix various issues pointed out by Nick and Andrea. | George Kadianakis | 2013-02-09 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Document the key=value format. - Constify equal_sign_pos. - Pass some strings that are about to be logged to escape(). - Update documentation and fix some bugs in tor_escape_str_for_socks_arg(). - Use string_is_key_value() in parse_bridge_line(). - Parenthesize a forgotten #define - Add some more comments. - Add some more unit test cases. | ||
| * | | | Add utility functions needed for SOCKS argument parsing. | George Kadianakis | 2013-02-09 |
| | | | | |||
* | | | | Merge remote-tracking branch 'origin/maint-0.2.4' | Nick Mathewson | 2013-03-15 |
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | Conflicts: src/or/routerlist.c | ||
| * | | | Remove some functions which were unused except for their tests | Nick Mathewson | 2013-02-23 |
| | | | | |||
* | | | | A couple more easy unit tests | Nick Mathewson | 2013-03-02 |
|/ / / | |||
* | | | Fix unreachable use-before-assign in test_util_join_win_cmdline | Nick Mathewson | 2013-02-15 |
| | | | | | | | | | | | | | | | Apparently there is a compiler that believes this is something to warn about. | ||
* | | | Fix even more dead code and resource leaks in the unit tests | Nick Mathewson | 2013-02-11 |
| | | | | | | | | | | | | Found by coverity | ||
* | | | Resolve memory leaks in the unit tests and benchmarks (found by coverity) | Nick Mathewson | 2013-02-11 |
| | | | | | | | | | | | | These shouldn't really matter, but it's nice to be leak-free. | ||
* | | | Unit test for tor_weak_random_range | Nick Mathewson | 2013-02-08 |
|/ / |