Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2015-05-06 | Add an util function to cast double to int64_t | David Goulet | |
Use it in the sample_laplace_distribution function to make sure we return the correct converted value after math operations are done on the input values. Thanks to Yawning for proposing a solution. Signed-off-by: David Goulet <dgoulet@ev0ke.net> | |||
2015-04-01 | Merge branch 'remove_digests' | Nick Mathewson | |
2015-04-01 | Drop support for --digests | Nick Mathewson | |
This is a fair amount of maintainance burden, and doesn't help much more than the git microversion. Closes ticket 14742. | |||
2015-03-26 | Implement "TOR_PT_EXIT_ON_STDIN_CLOSE". | Yawning Angel | |
Background processes spawned by Tor now will have a valid stdin. Pluggable transports can detect this behavior with the aformentioned enviornment variable, and exit if stdin ever gets closed. | |||
2015-03-21 | Disable assertions during coverage builds | Sebastian Hahn | |
This removes roughly 5000 branches in my testing. We never want to trigger assertions even during tests, so this is sane. Implements #15400. | |||
2015-02-17 | Remove tor_strclear(), and replace previous calls with memwipe(). | Yawning Angel | |
2015-02-02 | Add more parenthesis to the definition of ARRAY_LENGTH | Nick Mathewson | |
2015-01-28 | Bug #8405: Report SOCKS username/password in CIRC status events | Arthur Edelstein | |
Introduces two new circuit status name-value parameters: SOCKS_USERNAME and SOCKS_PASSWORD. Values are enclosing in quotes and unusual characters are escaped. Example: 650 CIRC 5 EXTENDED [...] SOCKS_USERNAME="my_username" SOCKS_PASSWORD="my_password" | |||
2015-01-15 | Restrict sample values of the Laplace distribution to int64_t. | George Kadianakis | |
This helps avoid undefined behavior from casting big double values to int64_t. Fixes #14090. | |||
2015-01-10 | Merge branch 'master' of https://git.torproject.org/tor into ↵ | teor | |
bug13111-empty-key-files-fn-empty Conflicts: src/or/connection_edge.c Merged in favour of origin. | |||
2015-01-10 | Merge branch 'bug14001-clang-warning' into bug13111-empty-key-files-fn-empty | teor | |
Conflicts: src/or/router.c Choose newer comment. Merge changes to comment and function invocation. | |||
2015-01-07 | Merge branch 'bug9286_v3_squashed' | Nick Mathewson | |
2015-01-07 | Stop accepting milliseconds in various directory contexts | Nick Mathewson | |
Have clients and authorities both have new behavior, since the fix for bug 11243 has gone in. But make clients still accept accept old bogus HSDir descriptors, to avoid fingerprinting trickery. Fixes bug 9286. | |||
2015-01-02 | Bump copyright dates to 2015, in case someday this matters. | Nick Mathewson | |
2014-12-10 | Add better support to obfuscate statistics. | Karsten Loesing | |
2014-11-08 | Stop failing when key files are zero-length | teor | |
Instead, generate new keys, and overwrite the empty key files. Adds FN_EMPTY to file_status_t and file_status. Fixes bug 13111. Related changes due to review of FN_FILE usage: Stop generating a fresh .old RSA key file when the .old file is missing. Avoid overwriting .old key files with empty key files. Skip loading zero-length extra info store, router store, stats, state, and key files. | |||
2014-11-05 | Merge remote-tracking branch 'meejah/ticket-11291-extra-utests' | Nick Mathewson | |
Conflicts: src/or/config.c | |||
2014-11-04 | Merge branch 'bug13315_squashed' | Nick Mathewson | |
Conflicts: src/or/buffers.c | |||
2014-11-04 | Adding helper function that checks if string is a valid IPv6 address. | rl1987 | |
2014-11-04 | Introducing helper function to validate IPv4 address strings. | rl1987 | |
2014-11-04 | Introducing helper function to validate DNS name strings. | rl1987 | |
2014-10-28 | Add another year to our copyright dates. | Nick Mathewson | |
Because in 95 years, we or our successors will surely care about enforcing the BSD license terms on this code. Right? |