summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-01-03Make tor_addr_lookup() mockable.Nick Mathewson
2017-01-02Unindent long-misindented blocks.Nick Mathewson
We switched these to be "if (1) " a while back, so we could keep the indentation and avoid merge conflicts. But it's nice to clean up from time to time.
2017-01-02Fix some dubious indentationNick Mathewson
2017-01-02changes file for 20823Nick Mathewson
2017-01-02Make GETINFO entry-guards work again with prop271Nick Mathewson
This is not a great solution, but it's as close to backward-compatible as possible. A better GETINFO API should expose more information.
2017-01-02Merge remote-tracking branch 'jryans/doc-formatting'Nick Mathewson
2016-12-27Fix double-free on test failureNick Mathewson
Found by coverity scan; CID 1398167.
2016-12-23Merge branch 'maint-0.2.9'Nick Mathewson
2016-12-23Merge branch 'bug21051_v2' into maint-0.2.9Nick Mathewson
2016-12-23Merge remote-tracking branch 'dgoulet/bug20991_030_01'Nick Mathewson
2016-12-23Remove abort handler from the backtrace generatorcypherpunks
The abort handler masks the exit status of the backtrace generator by capturing the abort signal from the backtrace handler and exiting with zero. Because the output of the backtrace generator is meant to be piped to `bt_test.py`, its exit status is unimportant and is currently ignored. The abort handler calls `exit(3)` which is not asynchronous-signal-safe and calling it in this context is undefined behavior [0]. Closes ticket 21026. [0] https://www.securecoding.cert.org/confluence/x/34At
2016-12-23Remove dead code related to the old tor-fw-helpercypherpunks
This commit removes more code related to the old tor-fw-helper which was removed in ticket 13338. Closes ticket 21024.
2016-12-23whitespace fixNick Mathewson
2016-12-23Merge remote-tracking branch 'dgoulet/bug20572_030_01'Nick Mathewson
2016-12-23Note memset as redundant; see 20764.Nick Mathewson
2016-12-23changes file for 19222Nick Mathewson
2016-12-23This is no longer inline.Nick Mathewson
2016-12-23Fix 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-12-23changes file for 19899Nick Mathewson
2016-12-23Merge remote-tracking branch 'dgoulet/bug19899_030_01'Nick Mathewson
2016-12-23Use event_base_new(), not event_init(), to detect libevent 2.Nick Mathewson
(event_init() is obsoleted in libevent 2.) Fixes bug 21051; bugfix on 0.2.9.1-alpha when we dropped libevent 1 support.
2016-12-23Merge branch 'maint-0.2.9'Nick Mathewson
2016-12-23changes file for 21035.Nick Mathewson
2016-12-23Merge branch 'maint-0.2.9'Nick Mathewson
2016-12-23Merge branch 'bug21035' into maint-0.2.9Nick Mathewson
2016-12-21Withstand failures in CLOCK_MONOTONIC_COARSENick Mathewson
This came up on #21035, where somebody tried to build on a linux system with kernel headers including CLOCK_MONOTONIC_COARSE, then run on a kernel that didn't support it. I've adopted a belt-and-suspenders approach here: we detect failures at initialization time, and we also detect (loudly) failures later on. Fixes bug 21035; bugfix on 0.2.9.1-alpha when we started using monotonic time.
2016-12-20Merge remote-tracking branch 'teor/fallbacks-20161219'Nick Mathewson
2016-12-20Merge branch 'maint-0.2.9'Nick Mathewson
2016-12-20Merge branch 'maint-0.2.8' into maint-0.2.9Nick Mathewson
2016-12-20Merge branch 'maint-0.2.7' into maint-0.2.8Nick Mathewson
2016-12-20Merge branch 'maint-0.2.6' into maint-0.2.7Nick Mathewson
2016-12-20Add a one-word sentinel value of 0x0 at the end of each buf_t chunkNick Mathewson
This helps protect against bugs where any part of a buf_t's memory is passed to a function that expects a NUL-terminated input. It also closes TROVE-2016-10-001 (aka bug 20384).
2016-12-20Merge branch 'maint-0.2.5' into maint-0.2.6Nick Mathewson
("ours" merge because there is a separate 20384 patch for 026)
2016-12-20Add a one-word sentinel value of 0x0 at the end of each buf_t chunkNick Mathewson
This helps protect against bugs where any part of a buf_t's memory is passed to a function that expects a NUL-terminated input.
2016-12-20Merge branch 'maint-0.2.4' into maint-0.2.5Nick Mathewson
(ours merge -- there is a separate 0.2.5 patch for 20384.)
2016-12-20Add a one-word sentinel value of 0x0 at the end of each buf_t chunkNick Mathewson
This helps protect against bugs where any part of a buf_t's memory is passed to a function that expects a NUL-terminated input.
2016-12-20Merge branch 'maint-0.2.9'Nick Mathewson
2016-12-20Merge branch 'maint-0.2.8' into maint-0.2.9Nick Mathewson
2016-12-20Merge branch 'maint-0.2.7' into maint-0.2.8Nick Mathewson
2016-12-20Merge branch 'maint-0.2.6' into maint-0.2.7Nick Mathewson
2016-12-20Merge branch 'maint-0.2.5' into maint-0.2.6Nick Mathewson
2016-12-20Merge branch 'maint-0.2.4' into maint-0.2.5Nick Mathewson
2016-12-21Add and update fallback directory detailsteor
These updates were made after the December 2016 list was created.
2016-12-19bump to 0.3.0.1-alpha-devNick Mathewson
2016-12-19style editstor-0.3.0.1-alphaNick Mathewson
2016-12-19Bump to 0.3.0.1-alphaNick Mathewson
2016-12-19Add checkSpace to distNick Mathewson
2016-12-19pick a date, reflow.Nick Mathewson
2016-12-19Merge branch 'bug21007'Nick Mathewson
2016-12-19Don't warn about absent guard state when none expected.Nick Mathewson
Self-testing circuits don't use guards, and nobody uses guards when UseEntryGuards is disabled. Fixes bug 21007; bug not in any released Tor.