Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-28 | Merge branch 'maint-0.3.3' | Nick Mathewson | |
2018-03-28 | Rename string_is_valid_hostname -> string_is_valid_nonrfc_hostname | Nick Mathewson | |
Per discussion on 25055. | |||
2018-03-28 | Allow IPv6 address strings to be used as hostnames in SOCKS5 requests | rl1987 | |
2018-02-15 | Remove workaround code for systems where free(NULL) is busted. | Nick Mathewson | |
Add an autoconf test to make sure we won't regret it. Closes ticket 24484. | |||
2018-01-10 | Document the alignment limitation of tor_free() | Nick Mathewson | |
2017-12-08 | Replace all FREE_AND_NULL* uses to take a type and a free function. | Nick Mathewson | |
This commit was made mechanically by this perl script: \#!/usr/bin/perl -w -i -p next if /^#define FREE_AND_NULL/; s/\bFREE_AND_NULL\((\w+),/FREE_AND_NULL\(${1}_t, ${1}_free_,/; s/\bFREE_AND_NULL_UNMATCHED\(/FREE_AND_NULL\(/; | |||
2017-12-08 | Let's have only one FREE_AND_NULL variant. | Nick Mathewson | |
This commit removes the old FREE_AND_NULL, and renames the old FREE_AND_NULL_UNMATCHED so that it is now called FREE_AND_NULL. This will break all the FREE_AND_NULL_* users; the next commit will fix them. | |||
2017-12-08 | Make tor_free only evaluate its input once (at least on gcc and clang) | Nick Mathewson | |
2017-12-08 | Switch to a safer FREE_AND_NULL implementation | Nick Mathewson | |
This one only evaluates the input once, so it cannot mess up even if there are side effects. | |||
2017-12-08 | Convert the rest of src/common's headers to use FREE_AND_NULL | Nick Mathewson | |
2017-11-17 | Add a macro to call a free_ function and clear a variable | Nick Mathewson | |
2017-09-15 | Run our #else/#endif annotator on our source code. | Nick Mathewson | |
2017-09-06 | Exit when we can't write to a configured pid file | Nick Mathewson | |
This is probably what the user wants, according to 20119. | |||
2017-08-09 | Add a 'NoExec' option that causes tor_spawn_background() to fail | Nick Mathewson | |
Core of an implementation for 22976. | |||
2017-08-03 | Switch to offsetof() | Neel Chauhan | |
2017-05-18 | Add support for %include funcionality on torrc #1922 | Daniel Pinto | |
config_get_lines is now split into two functions: - config_get_lines which is the same as before we had %include - config_get_lines_include which actually processes %include | |||
2017-04-06 | Make CEIL_DIV() slightly more overflow-safe | Taylor Yu | |
2017-04-04 | Move config line parsing function to confline.c | Nick Mathewson | |
2017-03-15 | Run the copyright update script. | Nick Mathewson | |
2017-03-09 | Remove buffered I/O stream usage in process_handle_t. | Alexander Færøy | |
This patch removes the buffered I/O stream usage in process_handle_t and its related utility functions. This simplifies the code and avoids racy code where we used buffered I/O on non-blocking file descriptors. See: https://bugs.torproject.org/21654 | |||
2017-02-14 | Merge branch 'bug20894_029_v3' | Nick Mathewson | |
2017-02-14 | Don't atoi off the end of a buffer chunk. | Nick Mathewson | |
Fixes bug 20894; bugfix on 0.2.0.16-alpha. We already applied a workaround for this as 20834, so no need to freak out (unless you didn't apply 20384 yet). | |||
2016-12-23 | Fix unreachable heap corruption in base64_decode() | Hans Jerry Illikainen | |
Give size_mul_check() external linkage and use it in base64_decode() to avoid a potential integer wrap. Closes #19222 | |||
2016-11-30 | Teach parse_iso_time about the spaceless variant. | Nick Mathewson | |
(We previously added support for generating the spaceless 2016-11-14T19:58:12 variant, but not for actually parsing it.) | |||
2016-10-27 | Add implementation of smartlist_add_strdup | overcaffeinated | |
Add smartlist_add_strdup(sl, string) - replaces the use of smartlist_add(sl, tor_strdup(string)). Fixes bug 20048. | |||
2016-10-04 | Allow a unix: address to contain a C-style quoted string. | Nick Mathewson | |
Feature 18753 -- all this to allow spaces. | |||
2016-09-06 | checkSpace.pl now forbids more identifiers. | Nick Mathewson | |
The functions it warns about are: assert, memcmp, strcat, strcpy, sprintf, malloc, free, realloc, strdup, strndup, calloc. Also, fix a few lingering instances of these in the code. Use other conventions to indicate _intended_ use of assert and malloc/realloc/etc. | |||
2016-07-29 | Keep make check-spaces happy | Andrea Shepard | |
2016-07-26 | Add a function to simplify a fraction. | Nick Mathewson | |
Apparently remembering euclid's algorithm does pay off sooner or later. | |||
2016-07-26 | Tweaks on 19435 fix: | Nick Mathewson | |
* Raise limit: 16k isn't all that high. * Don't log when limit exceded; log later on. * Say "over" when we log more than we say we log. * Add target version to changes file | |||
2016-07-26 | Fix integer overflow in the rate-limiter (#19435). | Ivan Markin | |
2016-07-01 | Merge remote-tracking branch 'dgoulet/ticket16943_029_05-squashed' | Nick Mathewson | |
Trivial Conflicts: src/or/or.h src/or/routerparse.c | |||
2016-06-30 | Make things mockable for dump_desc_populate_fifo_from_directory() unit test | Andrea Shepard | |
2016-06-30 | Unit test for dump_desc_populate_one_file() | Andrea Shepard | |
2016-06-30 | Move unparseable descriptor dumps into subdirectory of DataDir | Andrea Shepard | |
2016-06-30 | Expose dump_desc() to the test suite and make things it calls mockable | Andrea Shepard | |
2016-06-20 | Add tor_htonll/ntohll functions | David Goulet | |
Signed-off-by: David Goulet <dgoulet@ev0ke.net> | |||
2016-06-16 | Remove parse_config_line_from_str alias | Nick Mathewson | |
All of our code just uses parse_config_line_from_str_verbose. | |||
2016-06-16 | tests for size_mul_check__() | Nick Mathewson | |
it's important, and we should make sure we got it right. | |||
2016-05-19 | Remove round_int64_to_next_multiple_of: It is now unused. | Nick Mathewson | |
2016-04-04 | Move tor_assert implementation into its own header/module. | Nick Mathewson | |
2016-03-01 | First RelaxDirModeCheck implementation | Peter Palfrader | |
2016-02-27 | Update the copyright year. | Nick Mathewson | |
2016-02-22 | Define O_NOFOLLOW on platforms that do not have it | cypherpunks | |
Fixes #18339 | |||
2016-02-04 | Make the no-assertions-during-coverage check into a configure option | Nick Mathewson | |
Closes ticket 18242. The rationale here is that I like having coverage on by default in my own working directory, but I always want assertions turned on unless I'm doing branch coverage specifically. | |||
2015-11-12 | Merge branch 'karsten_bug13192_026_03_teor' | Nick Mathewson | |
2015-11-12 | Rename cast_double_to_int64 to clamp_double_to_int64 | Nick Mathewson | |
2015-07-31 | Move formatting functions around. | Nick Mathewson | |
The base64 and base32 functions used to be in crypto.c; crypto_format.h had no header; some general-purpose functions were in crypto_curve25519.c. This patch makes a {crypto,util}_format.[ch], and puts more functions there. Small modules are beautiful! | |||
2015-05-07 | Merge branch 'writing_tests' | Nick Mathewson | |
2015-05-07 | Write the outlines of a WritingTests.txt document | Nick Mathewson | |
Also, add some sample tests to be examples. |