Nick Mathewson
|
69e22e294b
Set binary mode when checking malformed descriptor.
|
8 years ago |
Nick Mathewson
|
889cfac676
One more tt_u64_op
|
8 years ago |
Nick Mathewson
|
591078c76d
use tt_u64_op for comparing len_descs_dumped
|
8 years ago |
Nick Mathewson
|
b750a77e3f
fix naked memcmps
|
8 years ago |
Nick Mathewson
|
2713de2a47
Fix more naked strdup/malloc/free instances
|
8 years ago |
Nick Mathewson
|
9a92f58219
Avoid naked strdups in test_dir.c
|
8 years ago |
Nick Mathewson
|
7a7bd1f9ea
Fix a memory leak in test_dir_populate_dump_desc_fifo
|
8 years ago |
Nick Mathewson
|
c3b720fb26
Try to fix warnings when size_t is smaller than st.st_size.
|
8 years ago |
Nick Mathewson
|
b5beb2afa6
fix a syntax warning
|
8 years ago |
Nick Mathewson
|
ded7e8093c
Fix three -Wtautological-constant-out-of-range-compare warnings.
|
8 years ago |
Nick Mathewson
|
3627718348
Fix -Wextra-semi warning
|
8 years ago |
Nick Mathewson
|
6d2f006bf4
Fix a 32-bit compilation failure
|
8 years ago |
Nick Mathewson
|
8917c4f19f
A little more specificity in documentation for getinfo download/ stuff
|
8 years ago |
Nick Mathewson
|
cb54390e0f
Merge remote-tracking branch 'andrea/ticket19323_squashed'
|
8 years ago |
Nick Mathewson
|
9a76415c77
tweak 18322 changelog
|
8 years ago |
Nick Mathewson
|
c6846d7bf0
Merge remote-tracking branch 'andrea/bug18322_v3_squashed'
|
8 years ago |
Nick Mathewson
|
a31f55b16b
Merge remote-tracking branch 'teor/bug19483-fix-v2'
|
8 years ago |
Andrea Shepard
|
13a16e0011
Also check if the sandbox is configured as well as if it's active; sandbox_init() runs rather late in the startup process
|
8 years ago |
Andrea Shepard
|
34d9dabed1
Do sandbox_is_active() check before reconstructing dump_desc() FIFO on startup too
|
8 years ago |
Andrea Shepard
|
9580b99dab
Add unit test for dump_desc_populate_fifo_from_directory()
|
8 years ago |
Andrea Shepard
|
f99c9df02b
Make things mockable for dump_desc_populate_fifo_from_directory() unit test
|
8 years ago |
Andrea Shepard
|
42f089473a
Unit test for dump_desc_populate_one_file()
|
8 years ago |
Andrea Shepard
|
2154160a24
Add support for mocking functions declared with attributes without causing gcc warnings
|
8 years ago |
Andrea Shepard
|
421cf21b3c
Reload unparseable descriptor dump FIFO state from on-disk dumped descriptors at startup
|
8 years ago |
Andrea Shepard
|
38cced90ef
Move unparseable descriptor dumps into subdirectory of DataDir
|
8 years ago |
Andrea Shepard
|
dc37546cff
Add sandbox_is_active() check to dump_desc()
|
8 years ago |
Andrea Shepard
|
603f483092
Use uint64_t for total length of dumped descriptors, nad be careful about overflows in the loop in dump_desc_fifo_add_and_clean()
|
8 years ago |
Andrea Shepard
|
824ee581b0
Add dir/dump_unparseable_descriptors unit test
|
8 years ago |
Andrea Shepard
|
2a17b93cc4
Make options_get_datadir_fname2_suffix() mockable
|
8 years ago |
Andrea Shepard
|
35fc5879fb
Expose a few more dump_desc()-related things to the test suite
|
8 years ago |