Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-06-28 | Fix crash in LZMA module when the Sandbox is enabled. | Alexander Færøy | |
This patch fixes a crash in our LZMA module where liblzma will allocate slightly more data than it is allowed to by its limit, which leads to a crash. See: https://bugs.torproject.org/22751 | |||
2017-06-26 | Fix a coverity warning about a no-op assert with-64 bit size_t | Nick Mathewson | |
This is CID 1403400 | |||
2017-06-20 | Merge branch 'bug22502_redux_031' into maint-0.3.1 | Nick Mathewson | |
2017-06-20 | Merge branch 'bug22672_031' into maint-0.3.1 | Nick Mathewson | |
2017-06-20 | Merge remote-tracking branch 'argonblue/bug22638' into maint-0.3.1 | Nick Mathewson | |
2017-06-20 | Enforce the rule that COMPRESS_OK means progress was made. | Nick Mathewson | |
If COMPRESS_OK occurs but data is neither consumed nor generated, treat it as a BUG and a COMPRESS_ERROR. This change is meant to prevent infinite loops in the case where we've made a mistake in one of our compression backends. Closes ticket 22672. | |||
2017-06-20 | mingw/windows printf lacks %zd ; use %lu and casts instead | Nick Mathewson | |
(This approach can lose accuracy, but it's only in debug-level messages.) Fixes windows compilation. Bugfix on recent compress.c changes; bug not in any released Tor. | |||
2017-06-20 | Fix compress_none.c header comment | Taylor Yu | |
The Doxygen \file markup for compress_none.c had the wrong filename. Fixes #22638. | |||
2017-06-20 | Correct the fix to bug 22629 to permit trailing non-garbage | Nick Mathewson | |
This change makes it so that we can decompress concatenated zstd outputs. | |||
2017-06-20 | Merge remote-tracking branch 'teor/bug22502' into maint-0.3.1 | Nick Mathewson | |
2017-06-19 | Merge branch 'maint-0.3.0' into maint-0.3.1 | Nick Mathewson | |
2017-06-19 | Merge branch 'maint-0.2.9' into maint-0.3.0 | Nick Mathewson | |
2017-06-16 | Permit the fchmod system call. | Nick Mathewson | |
Fixes bug 22516; bugfix on 0.2.5.4-alpha. | |||
2017-06-16 | Add extra logging during compression and decompression | teor | |
This helps diagnose failures. Part of #22502. | |||
2017-06-16 | Return TOR_COMPRESS_BUFFER_FULL when zstd has additional input | teor | |
Fixes #22628. | |||
2017-06-16 | Remove a redundant conditional in tor_zstd_compress_process | teor | |
Part of #22502 | |||
2017-06-16 | Move a comment to the right place in tor_zstd_compress_process | teor | |
Part of #22502 | |||
2017-06-16 | Check for trailing input garbage in tor_compress_impl() when decompressing | teor | |
Fixes #22629. | |||
2017-06-16 | Check if tor_compress_new() returns NULL in tor_compress_impl() | teor | |
Partial fix to 22626. | |||
2017-06-05 | Merge branch 'maint-0.3.0' | Nick Mathewson | |
2017-06-05 | Merge branch 'maint-0.2.9' into maint-0.3.0 | Nick Mathewson | |
2017-06-05 | Improve documentation on get_{peer,own}_certificate() | Nick Mathewson | |
Make it clear that we're returning a newly allocated copy. | |||
2017-06-05 | Test prerequisites: function to dup a cert, make get_own_cert mockable. | Nick Mathewson | |
2017-06-05 | On v3 link handshake, send the correct link certificate | Nick Mathewson | |
Previously we'd send the _current_ link certificate, which would cause a handshaking failure when the TLS context rotated. | |||
2017-05-30 | Merge remote-tracking branch 'teor/bug22424' | Nick Mathewson | |
2017-05-28 | Replace 3-star pointer with 2-star pointer | Daniel Pinto | |
2017-05-28 | If we do underflow the know usage of a storage, recalculate it | teor | |
Fixes bug #22424 on 0.3.1.1-alpha. | |||
2017-05-28 | Refactor storage usage reductions into a static function | teor | |
No behaviour change. Part of #22424. | |||
2017-05-28 | Don't underflow usage when it is unknown and a file is removed | teor | |
Part of #22424. | |||
2017-05-28 | Always check for usage underflow when removing a file in storage.c | teor | |
Part of #22424. | |||
2017-05-28 | Fix comment typos in storage.c | teor | |
2017-05-28 | Fix crash with %include | Daniel Pinto | |
Fixes crash when including a folder that contains a non-empty file without any values followed by any other non-empty file. | |||
2017-05-26 | Cleanup MOCK_IMPL (etc) to be findable with etags | Nick Mathewson | |
A fair number of our mock_impl declarations were messed up so that even our special AM_ETAGSFLAGS couldn't find them. This should be a whitespace-only patch. | |||
2017-05-23 | Fix comments of functions that return tor_snprintf | teor | |
No code changes needed: in the places where we actually check the return value of these functions, we handle it correctly. | |||
2017-05-22 | fix two typos in comments | Roger Dingledine | |
closes ticket 22322 | |||
2017-05-19 | Remove call to get_unquoted_path in config_process_include() | Nick Mathewson | |
parse_config_line_from_str_verbose() already looks for strings that are surrounded by quotes, and processes them with unescape_string(). So things were getting decoded twice, which was (in turn) playing havoc with backslashes on Windows. | |||
2017-05-19 | strlen() returns size_t | Nick Mathewson | |
2017-05-19 | Merge branch 'add_rust_squashed' | Nick Mathewson | |
2017-05-19 | Add some Rust utility functions and print support | Sebastian Hahn | |
This gives an indication in the log that Tor was built with Rust support, as well as laying some groundwork for further string-returning APIs to be converted to Rust | |||
2017-05-19 | Merge remote-tracking branch 'jigsaw/torrc-dir-fix-1922_squashed2' | Nick Mathewson | |
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-05-17 | Fixed error on BASEXX_NOPAD LEN and BUFSIZE macros #21872 | Daniel Pinto | |
2017-05-12 | Add API for getting human readable descriptions of a compress_method_t | Alexander Færøy | |
See: https://bugs.torproject.org/21667 | |||
2017-05-10 | In channelpadding tests that touch libevent, call event_reinit(). | Nick Mathewson | |
This is necessary to avoid crashes and test failures on kevent-based systems. Fixes bug 22209; bug not in any released Tor. | |||
2017-05-08 | Merge branch 'maint-0.3.0' | Nick Mathewson | |
2017-05-08 | Merge branch 'maint-0.2.9' into maint-0.3.0 | Nick Mathewson | |
2017-05-02 | Merge branch 'compress_none_v2_squashed' | Nick Mathewson | |
2017-05-02 | Treat the identity transformation as another kind of compression. | Nick Mathewson | |
This will allow us to treat NO_METHOD as a real compression method, and to simplify code that currently does if (compressing) { compress } else { copy } | |||
2017-05-01 | Rename x-lzma to x-tor-lzma | Nick Mathewson | |
We shouldn't call it lzma, because we are imposing a limit on the memory needed for decoding. | |||
2017-05-01 | Merge remote-tracking branch 'ahf/bugs/21665' | Nick Mathewson | |