Nick Mathewson
|
a142fc29af
Use tor_malloc_zero(x), not tor_calloc(x,sizeof(char))
|
10 years ago |
Nick Mathewson
|
bbd8d07167
Apply new calloc coccinelle patch
|
10 years ago |
Nick Mathewson
|
ded33cb2c7
Use the | trick to save a comparison in our calloc check.
|
10 years ago |
Nick Mathewson
|
0d8abf5365
Switch to a < comparison for our calloc check; explain how it works
|
10 years ago |
Mansour Moufid
|
81b452d245
Document the calloc function overflow check.
|
10 years ago |
Mansour Moufid
|
06b1ef7b76
Remove a duplicate comment.
|
10 years ago |
Mansour Moufid
|
3206dbdce1
Refactor the tor_reallocarray_ overflow check.
|
10 years ago |
Mansour Moufid
|
aff6fa0b59
Refactor the tor_calloc_ overflow check.
|
10 years ago |
Nick Mathewson
|
fcdcb377a4
Add another year to our copyright dates.
|
10 years ago |
teor
|
238b8eaa60
Improve date validation in HTTP headers
|
10 years ago |
Nick Mathewson
|
f1782d9c4c
Clean whitespace in last patch.
|
10 years ago |
teor
|
f51418aabc
Avoid overflow in format_time_interval, create unit tests
|
10 years ago |
Nick Mathewson
|
48558ed1aa
Merge remote-tracking branch 'public/bug13104_025'
|
10 years ago |
Nick Mathewson
|
284cc9a224
Avoid an overflow on negation in format_helper_exit_status
|
10 years ago |
Nick Mathewson
|
d2463c0cfe
Avoid overflows and underflows in sscanf and friends
|
10 years ago |
Nick Mathewson
|
1eea7a68ed
Use S?SIZE_MAX, not S?SIZE_T_MAX
|
10 years ago |
David Stainton
|
b59fd2efb6
Fix permissions logic
|
10 years ago |
David Stainton
|
59e052b896
Remove HiddenServiceDirGroupReadable from or_options_t
|
10 years ago |
David Stainton
|
7203040835
Fix regression nickm pointed out
|
10 years ago |
David Stainton
|
6e4efb559d
Fix white space
|
10 years ago |
Nick Mathewson
|
9b850f9200
Add more assertions to esc_for_log to please the clangalyzer.
|
10 years ago |
Nick Mathewson
|
07a16b3372
Add an assertion to read_file_to_str_until_eof
|
10 years ago |
Nick Mathewson
|
57c48bf734
Apply the MALLOC_ZERO_WORKS fixup to tor_realloc as well.
|
10 years ago |
David Stainton
|
6b9016fe3c
Correct check_private_dir's dir mode
|
10 years ago |
David Stainton
|
227b65924b
Clean up patch
|
10 years ago |
anonymous
|
c13db1f614
Ticket #11291: patch from "anon":
|
10 years ago |
Nick Mathewson
|
0de7565dfd
Check return values for fcntl in tor_spawn_background.
|
10 years ago |
Nick Mathewson
|
4570805efd
Fix whitespace issues
|
10 years ago |
Nick Mathewson
|
2bfd92d0d1
Apply coccinelle script to replace malloc(a*b)->calloc(a,b)
|
10 years ago |
Nick Mathewson
|
19b137bc05
Add reallocarray clone so we can stop doing multiply-then-reallocate
|
10 years ago |