summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-07-01Add an extra check to test_dir to try to debug windows jenkins issueNick Mathewson
2016-07-01Fix a missing break; in dump_desc_init()Nick Mathewson
Found by coverity scan; this is CID 1362983
2016-07-01Merge remote-tracking branch 'teor/bug19530-v2'Nick Mathewson
2016-07-01Merge branch 'maint-0.2.8'Nick Mathewson
2016-07-01When tor can't find a directory, log lessteor (Tim Wilson-Brown)
2016-07-01Make authority_certs_fetch_missing support bridge hintsteor (Tim Wilson-Brown)
This also fixes an issue where bridge clients may have found a routerstatus for a directory mirror, and connected to it directly.
2016-07-01Refactor duplicate code in authority_certs_fetch_missingteor (Tim Wilson-Brown)
2016-07-01Call purpose_needs_anonymity in authority_certs_fetch_missingteor (Tim Wilson-Brown)
2016-07-01Hex-encode raw digest before printing in authority_certs_fetch_missingteor (Tim Wilson-Brown)
2016-07-01Refactor authority_certs_fetch_missing to call get_options onceteor (Tim Wilson-Brown)
2016-06-30Make sure that our tests expect the windows path separator as neededNick Mathewson
2016-06-30Set binary mode when checking malformed descriptor.Nick Mathewson
2016-06-30One more tt_u64_opNick Mathewson
2016-06-30use tt_u64_op for comparing len_descs_dumpedNick Mathewson
2016-06-30fix naked memcmpsNick Mathewson
2016-06-30Fix more naked strdup/malloc/free instancesNick Mathewson
2016-06-30Avoid naked strdups in test_dir.cNick Mathewson
2016-06-30Fix a memory leak in test_dir_populate_dump_desc_fifoNick Mathewson
2016-06-30Try to fix warnings when size_t is smaller than st.st_size.Nick Mathewson
2016-06-30fix a syntax warningNick Mathewson
2016-06-30Fix three -Wtautological-constant-out-of-range-compare warnings.Nick Mathewson
2016-06-30Fix -Wextra-semi warningNick Mathewson
2016-06-30Fix a 32-bit compilation failureNick Mathewson
2016-06-30A little more specificity in documentation for getinfo download/ stuffNick Mathewson
Also, a const.
2016-06-30Merge remote-tracking branch 'andrea/ticket19323_squashed'Nick Mathewson
2016-06-30Merge remote-tracking branch 'andrea/bug18322_v3_squashed'Nick Mathewson
2016-06-30Merge remote-tracking branch 'teor/bug19483-fix-v2'Nick Mathewson
2016-06-30Also check if the sandbox is configured as well as if it's active; ↵Andrea Shepard
sandbox_init() runs rather late in the startup process
2016-06-30Do sandbox_is_active() check before reconstructing dump_desc() FIFO on ↵Andrea Shepard
startup too
2016-06-30Add unit test for dump_desc_populate_fifo_from_directory()Andrea Shepard
2016-06-30Make things mockable for dump_desc_populate_fifo_from_directory() unit testAndrea Shepard
2016-06-30Unit test for dump_desc_populate_one_file()Andrea Shepard
2016-06-30Add support for mocking functions declared with attributes without causing ↵Andrea Shepard
gcc warnings
2016-06-30Reload unparseable descriptor dump FIFO state from on-disk dumped ↵Andrea Shepard
descriptors at startup
2016-06-30Move unparseable descriptor dumps into subdirectory of DataDirAndrea Shepard
2016-06-30Add sandbox_is_active() check to dump_desc()Andrea Shepard
2016-06-30Use uint64_t for total length of dumped descriptors, nad be careful about ↵Andrea Shepard
overflows in the loop in dump_desc_fifo_add_and_clean()
2016-06-30Add dir/dump_unparseable_descriptors unit testAndrea Shepard
2016-06-30Make options_get_datadir_fname2_suffix() mockableAndrea Shepard
2016-06-30Expose a few more dump_desc()-related things to the test suiteAndrea Shepard
2016-06-30Add extern support for file-scope variables in testsupport.hAndrea Shepard
2016-06-30Expose dump_desc() to the test suite and make things it calls mockableAndrea Shepard
2016-06-30Remove old unparseable descriptor logging mechanism, add ↵Andrea Shepard
bump-to-head-of-queue for repeated unparseable descriptors, rename config variable
2016-06-30Add multiple descriptor dump support for dump_desc() in routerparse.c; fixes ↵Andrea Shepard
bug 18322
2016-06-29fix typoRoger Dingledine
2016-06-30Add tv_udiff and tv_mdiff unit tests with negative valuesteor (Tim Wilson-Brown)
2016-06-30Fix bug19483: avoid range checks when they are always trueteor (Tim Wilson-Brown)
Some compilers are smart enough to work out that comparisons to LONG_MAX are a no-op on L64.
2016-06-29Merge remote-tracking branch 'weasel/bug19503'Nick Mathewson
2016-06-29Add more unit tests for tv_udiff and tv_mdiffteor (Tim Wilson-Brown)
2016-06-29Improve overflow checks in tv_udiff and tv_mdiffteor (Tim Wilson-Brown)
Validate that tv_usec inputs to tv_udiff and tv_mdiff are in range. Do internal calculations in tv_udiff and tv_mdiff in 64-bit, which makes the function less prone to integer overflow, particularly on platforms where long and time_t are 32-bit, but tv_sec is 64-bit, like some BSD configurations. Check every addition and subtraction that could overflow.