Nick Mathewson
|
5ee0cccd49
Merge branch 'macro_free_v2_squashed'
|
7 lat temu |
Nick Mathewson
|
c92ac9f5cb
Convert the rest of src/common's headers to use FREE_AND_NULL
|
7 lat temu |
Nick Mathewson
|
cabcb752d7
In storagedir, take more care with errno on empty or mislabeled file
|
7 lat temu |
Nick Mathewson
|
a088a08eeb
Log real error message when unable to remove a storagedir file
|
7 lat temu |
Nick Mathewson
|
0c7c49483f
Fix a coverity warning about a no-op assert with-64 bit size_t
|
7 lat temu |
teor
|
79725289e1
If we do underflow the know usage of a storage, recalculate it
|
7 lat temu |
teor
|
69b234a0a8
Refactor storage usage reductions into a static function
|
7 lat temu |
teor
|
334fe6bb6b
Don't underflow usage when it is unknown and a file is removed
|
7 lat temu |
teor
|
9e36b0beb9
Always check for usage underflow when removing a file in storage.c
|
7 lat temu |
teor
|
f6841ae263
Fix comment typos in storage.c
|
7 lat temu |
Nick Mathewson
|
7a0964279f
Functionality to ensure there is space to add files to cache.
|
7 lat temu |
Nick Mathewson
|
16d6ab6640
Fix use-after-free bug in storage_dir sandbox code.
|
7 lat temu |
Nick Mathewson
|
37bb3b31fa
Add some "labeled storagedir" abstractions.
|
7 lat temu |
Nick Mathewson
|
1d617e3ed0
Check and cast st_size to size_t in storagedir code
|
7 lat temu |
Nick Mathewson
|
ee253e392a
Define a "storagedir" abstraction to hold numerous similar files
|
7 lat temu |